@dibblego is there a situation where a Reader monad is preferred over just passing the-thing-to-read as a function argument?
-
-
Replying to @aaronmblevin
@aaronmblevin You've no idea how relevant that question is to the code I am writing at the moment. The answer is yes.2 replies 0 retweets 0 likes -
Replying to @aaronmblevin
@dibblego ... like a method that takes: Reader[A : SomeClass, B] or something. So, you can have various config implementations.1 reply 0 retweets 0 likes
Replying to @aaronmblevin
@aaronmblevin it's good to create lots of little combinators that read the environment, then compose them all together with the monad.
9:11 PM - 11 Aug 2013
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.