Just to be sure, I've just compiled and run this code with GHC 6.2.1, on
a Linux system. I can't account for your difficulty I'm afraid.
Simon
{-# OPTIONS -fglasgow-exts #-}
module Main where
import GHC.Exts
showUnboxedInt :: Int# -> String
showUnboxedInt n = (show $ I# n) ++ "#"
main = prin
> Just to be sure, I've just compiled and run this code with GHC 6.2.1, on
> a Linux system. I can't account for your difficulty I'm afraid.
>
> Simon
Thanks, and nevermind, I think I figured out what was happening. Working now.
J.A.
>
> {-# OPTIONS -fglasgow-exts #-}
>
> module Main where
>