3 ms·
Sorry about that. Here is an implementation of ReaderT, how it can transform a Future to provide "local readonly state", and a usage example: https://gist.git
by spion 10y ago
Sorry about that.
Here is an implementation of ReaderT, how it can transform a Future to provide "local readonly state", and a usage example:
https://gist.github.com/spion/b433a665ca51d6c38e9f https://gist.github.com/spion/b433a665ca51d6c38e9f
Since its JS, I also added automatic lifting, just to annoy Haskell programmers ;)