> Fri, 28 Jul 2000 03:57:43 -0700, Simon Marlow
> <[EMAIL PROTECTED]> pisze:
>
> > Yes, this all stems from the fact that writeInt8OffAddr contains
> > a casm, and therefore doesn't have an unfolding outside the module
> > in which it is defined.
>
> Shouldn't it be a primop? It's used in marshalling strings.
It perhaps should be, but Int8 isn't a primitive type: it's implemented in
terms of Int#. There should really be 8-bit, 16-bit and 32-bit primitive
types in GHC (we already have 64-bit primitives). Char# is currently an
8-bit type, but that won't be the case for long, right? :)
Cheers,
Simon