Better HN
topnewbestaskshowjobs
Log inSign up

blinkenlights20

1 karma · joined Sep 23, 2020 (6y ago) · 1 submissions

Submissions

comment 6y ago · link · parent

Really impressive to pull this off!

I think it's great to see more fp inspired libraries popping up in a lot of places, especially for languages that are "known to ship" and where you can apply fp programming patterns in an incremental style instead of going "all in" with a pure fp language.

The more I'm exposed to fp concepts, the more I think we have a lot to win with exposing more and potential alien programmers to the subject to pick up the good parts.

I can recommend fp-ts in case you're doing web stuff, their either implementation looks nicer and it's in active support.

type Either<E, A> = Left<E> | Right<A>