monad comrehension query

Amit Garg amitji@cs.utexas.edu
Thu, 11 Oct 2001 21:40:21 -0500 (CDT)


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
-------------------------------------------------------------------