Hi,
As a GHC API user, I would like to run GHC’s strictness and demand analysis
pass, but I don’t want any worker/wrappers.
My specific use-case is to generate digital circuits from Haskell code, where
I’ve yet to encounter any benefit from worker/wrappers: the generated circuits
do not get any
Some quick thoughts:
* It would make perfect sense to run the demand analyser without the
worker/wrapper transform, yes. By all means make a patch to make that easy to
do. Do NOT do this by setting -fmax-worker-args=0; that would be a hack even
if it worked; and as you say it probably doesn't
Forgot to also send to the list
> Begin forwarded message:
>
> From: Christiaan Baaij
> Subject: Re: Strictness/demand analysis without worker/wrapper, or, reviving
> -fmax-worker-args
> Date: 15 Oct 2015 17:27:21 CEST
> To: Simon Peyton Jones
>
> Thanks for th