[Haskell-cafe] Displaying infered type signature of 'offside' functions

David House dmhouse at gmail.com
Wed May 2 12:45:53 EDT 2007


On 2 May 2007 16:16:57 -0000, kahl at cas.mcmaster.ca <kahl at cas.mcmaster.ca> wrote:
> * It would be nice if this worked inside the do-notation, too:
>
>   do x :: Ordering
>      x <- m
>
>   (This is curently a syntax error.)

I think the following works with -fglasgow-exts:

do (x :: Ordering) <- m

-- 
-David House, dmhouse at gmail.com


More information about the Haskell-Cafe mailing list