( options: Options.Options<A>, f: (a: A) => Effect.Effect<B, ValidationError.ValidationError, FileSystem.FileSystem | Path.Path | Terminal.Terminal> )
| 996 | } |
| 997 | |
| 998 | const makeMap = <A, B>( |
| 999 | options: Options.Options<A>, |
| 1000 | f: (a: A) => Effect.Effect<B, ValidationError.ValidationError, FileSystem.FileSystem | Path.Path | Terminal.Terminal> |
| 1001 | ): Options.Options<B> => { |
| 1002 | const op = Object.create(proto) |
| 1003 | op._tag = "Map" |
| 1004 | op.options = options |
| 1005 | op.f = f |
| 1006 | return op |
| 1007 | } |
| 1008 | |
| 1009 | const makeOrElse = <A, B>( |
| 1010 | left: Options.Options<A>, |
no test coverage detected
searching dependent graphs…