(value: A)
| 586 | |
| 587 | /** @internal */ |
| 588 | export const succeed = <A>(value: A): Config.Config<A> => { |
| 589 | const constant = Object.create(proto) |
| 590 | constant._tag = OpCodes.OP_CONSTANT |
| 591 | constant.value = value |
| 592 | constant.parse = () => Either.right(value) |
| 593 | return constant |
| 594 | } |
| 595 | |
| 596 | /** @internal */ |
| 597 | export const suspend = <A>(config: LazyArg<Config.Config<A>>): Config.Config<A> => { |