[Haskell-cafe] Detect Either Windows or Linux environment

SevenThunders mattcbro at earthlink.net
Sat May 5 00:21:47 EDT 2007


Is there a simple way to detect what operating system a given Haskell program
is running under?
It would help to make some programs that might have to interact with the
operating system more portable.

I haven't been able to quite figure out a simple way to do this.


-- 
View this message in context: http://www.nabble.com/Detect-Either-Windows-or-Linux-environment-tf3695277.html#a10333531
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.



More information about the Haskell-Cafe mailing list