Applying yield to a Maybe within the generator function unwraps the Maybe and returns underlying value in case of success
However the convinient option for typescript is to use yield* maybe.generator() as othervise one may have to deal with union types
Create compound Maybe from generator function
Applying yield to a Maybe within the generator function unwraps the Maybe and returns underlying value in case of success However the convinient option for typescript is to use
yield* maybe.generator()
as othervise one may have to deal with union types