(value: A)
| 573 | |
| 574 | /** @internal */ |
| 575 | export const succeed = <A>(value: A): Config.Config<A> => { |
| 576 | const constant = Object.create(proto) |
| 577 | constant._tag = OpCodes.OP_CONSTANT |
| 578 | constant.value = value |
| 579 | constant.parse = () => Either.right(value) |
| 580 | return constant |
| 581 | } |
| 582 | |
| 583 | /** @internal */ |
| 584 | export const suspend = <A>(config: LazyArg<Config.Config<A>>): Config.Config<A> => { |