[Haskell-cafe] ifdef based on which OS you're on

Andrew Cowie andrew at operationaldynamics.com
Fri Feb 15 15:50:48 CET 2013


That's interesting. But are there standard values for those functions? I'm guessing not, seeing a how they're String and not an ADT.

AfC
Sydney

Artyom Kazak <artyom.kazak at gmail.com> wrote:


>You can know the OS and arch without even resorting to CPP; see  
>System.Info  which defines `os` and `arch`.


-- 
Andrew Frederik Cowie
Operational Dynamics



More information about the Haskell-Cafe mailing list