[Haskell-cafe] Another point-free question (>>=, join, ap)

Edsko de Vries devriese at cs.tcd.ie
Sat Feb 14 05:10:17 EST 2009


Hi Conor,

> Will this do?
> 
>   http://www.haskell.org/haskellwiki/Idiom_brackets
> 
> You get to write
> 
>   iI f a1 a2 a3 Ji
> 
> for
> 
>   do x1 <- a1
>      x2 <- a2
>      x3 <- a3
>      f a1 a2 a3
> 
> amongst other things...

Cool :-) I had seen those idiom brackets before and put them on my
mental 'things I want to understand' list but never got round to them.
Very nice! Now if only ghc would allow me to write unicode so that I can
write *real* brackets.. (Something the Agda people do very well!)

Thanks!

Edsko


More information about the Haskell-Cafe mailing list