[Haskell-cafe] How to use alex with param -g in cabal

Vanessa McHale vanessa.mchale at iohk.io
Thu Mar 14 14:34:18 UTC 2019


I think cabal passes -g by default. But if not you can something like:
https://github.com/vmchale/atspkg/blob/master/cabal.project#L30

Cheers,
Vanessa McHale

On 3/14/19 5:18 AM, Kees Bleijenberg wrote:
>
> Hi all,
>
>  
>
> Alex is in the build-tools part of the cabal file. The docs of Alex
> says that invoking Alex with –g makes the resulting lexer
> significantly faster and smaller. How can I pass the –g parameter in
> the cabal file?
>
>  
>
> Kees
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
> 	Virusvrij. www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20190314/2f109f5f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20190314/2f109f5f/attachment.sig>


More information about the Haskell-Cafe mailing list