Wayne Van Son
Wayne Van Son
@gcanti When using ternary operators and switch statements, Typescript automatically infers what the remaining types are: ```ts declare const a: string | number const A = typeof a === "string"...
Sounds good to me! Id like to see this in the pipe able module until v3 is released also.
Feel free to write it if you wish :)
I haven't seen this discussed anywhere so I'm unsure if it's been considered as part of any solution related. We could add a fixed phantom property type to all data...
Looks cool! Keep it up. I'll look more into this on a PC. The word your looking for are typeclass. When the typeclass is implemented, its an instance of that...
You're right, it is. I didn't check. The difference is that this is a default implementation that can create a chainRec from a Monad (or some members of a Monad...
> It's not stack safe, `tailRecM` is implemented recursively which means any sync execution will make it unsafe, it is safe when used in combo with task because task is...
@asherccohen If you want lazy evaluation, you should consider the `Iterable` type, like `ixjs`. I'm about to consider writing an fp-ts version for iterables.
Pipeable sync iterator here https://github.com/samhh/fp-ts-std/pull/66
I think `typeclass` is the correct keyword here and the most suitable candidate I can conjure up.