Unlifted primop types
ben at smart-cactus.org
Thu Aug 23 22:45:05 UTC 2018
David Feuer <david.feuer at gmail.com> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 487 bytes
Desc: not available
More information about the ghc-devs