
Er, i found the relevant discussion thread http://www.mail-archive.com/haskell@haskell.org/msg03115.html. Also i perceive that i should be able to use the rewrite rules to achieve what i want. Thanks. -Amit. ------------------------------------------------------------------- Amit Garg | Office: ACES 6SEo4E Graduate Student | Phone : (512) 232-7875 Computer Sciences | Res : 2000 Pearl St. #207 University of Texas at Austin | Phone : (512) 560-6970 Homepage: http://www.cs.utexas.edu/~amitji ------------------------------------------------------------------- On Thu, 11 Oct 2001, Amit Garg wrote:
Hello.
Is list-like monad comprehension not supported? Is there a simple & elegant way of expressing ghc-extended pattern matching using `do' notation instead of list comprehension? (I dont want to end up using the case statement).
I still dont understand monads too well so i apologize if this is a silly question.
Thanks, -Amit.
------------------------------------------------------------------- Amit Garg | Office: ACES 6SEo4E Graduate Student | Phone : (512) 232-7875 Computer Sciences | Res : 2000 Pearl St. #207 University of Texas at Austin | Phone : (512) 560-6970 Homepage: http://www.cs.utexas.edu/~amitji -------------------------------------------------------------------
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users