Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Effect-TS/effect
/ succeed
Function
succeed
packages/cli/src/internal/prompt.ts:248–253 ·
view source on GitHub ↗
(value: A)
Source
from the content-addressed store, hash-verified
246
247
/** @internal */
248
export
const
succeed = <A>(value: A): Prompt.Prompt<A> => {
249
const
op = Object.create(proto)
250
op._tag =
"Succeed"
251
op.value = value
252
return
op
253
}
Callers
2
allTupled
Function · 0.70
prompt.ts
File · 0.70
Calls
1
create
Method · 0.80
Tested by
no test coverage detected