Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. How to define macro var with stack/cabal/etc? (PY)
----------------------------------------------------------------------
Message: 1
Date: Wed, 20 Jun 2018 09:25:20 +0300
From: PY <[email protected]>
To: [email protected]
Subject: [Haskell-beginners] How to define macro var with
stack/cabal/etc?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed
Hello all,
I'm using conditional compilation:
#ifdef BLAH
blahBlah
#endif
And I want to define BLAN, but no in *.hs file. For example, with
`stack` option, in yaml file, in cabal file, in environment variable...
How can I do it? For example, `stack -DBLAH=1 build` or something else.
What are the options?
===
Best regards, Paul
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 120, Issue 10
******************************************