python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Binding a Maybe within another monad to avoid case stairway of doom?
I'm fetching a user from a database with a key I'm fetching from an api (uid). The uid is a Maybe ByteString, and so I can either case check whether it's a Maybe and then run the Redis monad, or someh...
staletidings
Votes: 0
Answers: 0
Couldn't match LoggingT with NoLoggingT
I have a following monad transformer stack including the monad-logger transformer and I want to be able to turn off logging by a parameter.
I can see, there is the NoLoggingT type but I don't know how...

xbalaj
Votes: 0
Answers: 1