I think it should be mostly fine... memory alignment is my main bugbear of a worry, but I guess that requires experimentation 😊😊

On Sun, Aug 27, 2017 at 6:50 PM Michal Terepeta <michal.terepeta@gmail.com> wrote:
> On Thu, Aug 3, 2017 at 2:28 AM Sylvain Henry <sylvain@haskus.fr> wrote:
> Hi,
>
> I also think we should do this but it has a lot of ramifications: contant folding in Core, codegen, TH, etc.
>
> Also it will break codes that use primitive types directly, so maybe it's worth a ghc proposal.

Ok, a short proposal sounds reasonable.

I don't think this would break a lot of code - based on a few searches
it seems that people don't really extract `Int#` from
`Int8/Int16/Int32` (similarly with words).
Or am I missing something?

Thanks,
Michal

PS. Sorry for slow reply - I was traveling.

_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs