Re: [Haskell-cafe] Re: Guards with do notation?

2006-10-24 Thread Joachim Breitner
Hi, Am Dienstag, den 24.10.2006, 12:48 +0200 schrieb Benjamin Franksen: > > Am Dienstag, den 24.10.2006, 00:44 +0300 schrieb Misha Aizatulin: > >> hello all, > >> > >>why is it not possible to use guards in do-expressions like > >> > >>do > >> (a, b) | a == b <- getPair > >>

[Haskell-cafe] Re: Guards with do notation?

2006-10-24 Thread Benjamin Franksen
Joachim Breitner wrote: > Hi, > > Am Dienstag, den 24.10.2006, 00:44 +0300 schrieb Misha Aizatulin: >> hello all, >> >>why is it not possible to use guards in do-expressions like >> >>do >> (a, b) | a == b <- getPair >> return "a and b are equal" > > Probably beca