@dibblego is there a situation where a Reader monad is preferred over just passing the-thing-to-read as a function argument?
@aaronmblevin You've no idea how relevant that question is to the code I am writing at the moment. The answer is yes.
-
-
@dibblego hah. I'd been meaning to ask for a while so I guess this is good timing! If you can share any code snippets, that would be great.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@dibblego my hunch is that it's useful if you'd like to abstract over the type that you're Reading from... -
@dibblego ... like a method that takes: Reader[A : SomeClass, B] or something. So, you can have various config implementations. - Show replies
New conversation -
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.