Ralf Laemmel's riddle on surviving without the monad transformation library

Hi, Can someone provide me the solution to the following riddle that Ralf asked in his lecture at http://channel9.msdn.com/Shows/Going+Deep/C9-Lectures-Dr-Ralf-Lmmel-Advanced... Riddle: define a custom made monad (only involving (->) and Either String) to survive without the monad transformation library. -- Regards, Kashyap

I haven't watched the lecture. But what does he mean "survive"? Does
it mean to do anything that you can do with mtl?
On Mon, Nov 15, 2010 at 12:53 AM, C K Kashyap
Hi,
Can someone provide me the solution to the following riddle that Ralf asked in his lecture at http://channel9.msdn.com/Shows/Going+Deep/C9-Lectures-Dr-Ralf-Lmmel-Advanced...
Riddle: define a custom made monad (only involving (->) and Either String) to survive without the monad transformation library.
-- Regards, Kashyap _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

On Tue, Nov 16, 2010 at 3:58 AM, Luke Palmer
I haven't watched the lecture. But what does he mean "survive"? Does it mean to do anything that you can do with mtl?
Yes ... to understand monad transformers better, he suggested trying to wrap a monad inside another (I am not sure if I am saying it correctly) without using mtl. -- Regards, Kashyap
participants (2)
-
C K Kashyap
-
Luke Palmer