Hacker News new | ask | show | jobs
by epolanski 1279 days ago
@valenterry (I can't reply further), you can do that:

https://codesandbox.io/s/wispy-shadow-7789p6?file=/src/index...

In whatever ways you want to complicate it (with exceptions, asynchronous operations, with or without Do syntax) you can easily do that in fp-ts.

3 comments

If you are still here: any resources on how to build those other things that you mentioned myself? For example, if I would like to combine either and reader into a single monad, how would that look like? Now I'm kinda thrilled!
You can click on the timestamp of the post to reply next time ;)
Today I learned, thank you.
(edited)

That's actually not too bad!