How to define macro var with stack/cabal/etc?

20 Jun
2018
20 Jun
'18
2:25 a.m.
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
2525
Age (days ago)
2525
Last active (days ago)
0 comments
1 participants
participants (1)
-
PY