David Feuer <[email protected]> writes:

> The problem is that this also accepts things that aren't pointers at all!
> We could fix that *for primops* by changing RuntimeRep to something like
>
> data RuntimeRep
>   = PtrRep Liftedness
>    | ...
>
> But that would only work for primops (at least for now) so it may not be
> worth the breakage.
>
The runtime rep design was precisely this but IIRC this was changed
since the additional polymorphism ended up costing quite a bit in
type-checking effort.

Cheers,

- Ben

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ghc-devs mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to