
6 Jul
2007
6 Jul
'07
6:26 a.m.
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