Hi,

The following works fine:

ghci -fglasgow-exts
Prelude> case (# 1 , 2 #) of (# a , b #) -> error $ show (a,b)
*** Exception: (1,2)

You might expect there to be a prefix form of the unboxed tuple:

Prelude> case (#,#) 1 2 of (# a , b #) -> error $ show (a,b)
<interactive>:1:7: parse error on input `,'

But there isn't. I've added special code into the Yhc code generator
to deal with this particular constructor, so it no longer effects me.

Thanks

Neil
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to