Alex and GHC 7.8

wren ng thornton winterkoninkje at gmail.com
Sat Mar 8 04:03:32 UTC 2014


Hello,

In testing my packages for the impending GHC 7.8 release, I ran into
some issues with Alex-generated code. In particular, it looks like the
(>=#) and (==#)  operators now return Int# instead of Bool, so
expressions like

    if (offset >=# 0#) && (check ==# ord_c) then ...

no longer type check. Is this a known issue? Are there any plans to
fix it? I'd offer to submit a pull-request, but I'm not familiar with
the Alex codebase so that'd take a while

-- 
Live well,
~wren


More information about the Libraries mailing list