[jhc] JHC: problem with transformers

Dmitry Kulagin dmitry.kulagin at gmail.com
Mon Jul 21 09:41:51 UTC 2014


Hi John,

Yes, original code seems to be pretty large. It fails to compile before
code generation. I will try tonight to get the minimal example of the case.
If I am not mistaken 'global-optimize' does not play nicely with monad
transformers.

Thanks!


On Mon, Jul 21, 2014 at 1:17 PM, John Meacham <john at repetae.net> wrote:

> On Mon, Jul 21, 2014 at 12:30 AM, Dmitry Kulagin
> <dmitry.kulagin at gmail.com> wrote:
> >
> > PS.: This code _does_ compile if I don't use -f no-global-optimize.
> However,
> > I experiment with larger code, which is only compiled if I turn this
> > optimization off. That is why I try to stick with this option.
>
>
> Hi, Interesting. I have not tested with no-global-optimize in a while,
> it is possible there is an optimization I accidentally depended on
> happening in the GRIN backend that is disabled by it.
>
> Is the main reason you are doing it is for code size? I should
> investigate why the code blows up for that case too.
>
>     John
>
> --
> John Meacham - http://notanumber.net/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/jhc/attachments/20140721/14edab57/attachment.html>


More information about the jhc mailing list