[Haskell-cafe] Generalizing a library

Geraldus heraldhoi at gmail.com
Fri Jun 26 17:24:47 UTC 2015


Sorry for late response!  So likely CPP is the only option.  Thank you,
Adam!  I know GHCJS also sets similar variable and I think it is possible
to check compiler using `impl(ghcjs)` in cabal file and have conditional
dependencies list (correct me if I wrong).  But I don't know if Haste has
similar var and flag.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150626/c25cbec7/attachment.html>


More information about the Haskell-Cafe mailing list