[Haskell-cafe] Re: [Haskell] View patterns in GHC: Request forfeedback

Jacques Carette carette at mcmaster.ca
Fri Jul 27 13:07:33 EDT 2007

Others have already pointed this out, but it is worth saying again: 
Maybe is not the only monadic effect which makes sense during 
pattern-matching.  Wolfram Kahl and I have explored some of these things 
as part of the Pattern Matching Calculus,
[If you want to jump to the most recent, most complete version, see

Various other monads can be used for pattern-matching-effects.  While 
Maybe is quite classical, List and LogicT give extremely useful 


More information about the Haskell-Cafe mailing list