Hi Sumit,
Documentation clearly mentions it is related to API, so don't worry with executable and feel free to use the flags (still, depending on what are you doing, flags might not be the best solution).
12 бер. 2015 18:40, користувач "Sumit Sahrawat, Maths & Computing, IIT (BHU)" <sumit.sahrawat.apm13@iitbhu.ac.in> написав:_______________________________________________Hi everybody,I am looking for the correct way to provide additional functionality using cabal configure flags.Even though the developer faq [1] says that it is not recommended, I don't see any downsides for an executable package.Is it 'not recommended' even for executable packages? If not, then how can I do it?
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe