I tried
newtype LTSState = MkLTSState Int#
and got
*** Pattern-matching error within GHC!
This is a compiler bug; please report it to
[EMAIL PROTECTED]
Fail: "basicTypes/Id.lhs", line 920: incomplete pattern(s) to match in
function "dataConTyCon"
make: *** [lts/LTSState.o] Error 1
I am using version 2.08 of the GHC.
I guess that means I cannot use unboxed types with newtype, but I think
the compiler should report this more nicely...
--
Stephan Tobies, Student of Computer Science, RWTH Aachen
mailto:[EMAIL PROTECTED]
## There is much pleasure to be gained
from useless knowledge - B. Russel ##