Hi, Am Montag, den 18.12.2006, 09:22 -0800 schrieb Stefan O'Rear: > module Data.Generics.Serialization.Standard ... > > -- |Convert a 'Maybe' object into any monad, using the imbedding defined by > -- fail and return. > fromMaybeM :: Monad m => String -> Maybe a -> m a > fromMaybeM st = maybe (fail st) return
I can’t find that module anywhere (with neither [gh]oogle). But I guess that is another indicator that it’s useful to use Maybe in other Monads. Greetings, Joachim -- Joachim "nomeata" Breitner mail: [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Key: 4743206C JID: [EMAIL PROTECTED] | http://www.joachim-breitner.de/ Debian Developer: [EMAIL PROTECTED] _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe