Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/contentlayerdev/contentlayer
/ succeed
Function
succeed
packages/@contentlayer/utils/src/effect/These.ts:17–19 ·
view source on GitHub ↗
(a: A)
Source
from the content-addressed store, hash-verified
15
}
16
17
export
function
succeed<A>(a: A) {
18
return
new
These(E.right(Tp.tuple(a, O.none)))
19
}
20
21
export
function
warn<E, A>(a: A, e: E) {
22
return
new
These(E.right(Tp.tuple(a, O.some(e))))
Callers
2
map_
Function · 0.85
mapError_
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…