Day 7: Haxl — The Reader Monad, When Reads Are Expensive
In the Reader
monad, all you can do is query the environment by ask
ing for the whole environment. If you only want a little bit of that environment, you can apply a function to the environment. For example, you might ask for the…