Command Line Arguments

Neil Mitchell ndmitchell at
Thu Oct 18 13:46:33 EDT 2007


> So that's part of the Haskell98 standard?

In the Haskell98 standard it can be imported from System, rather than
System.Environment. Nowadays all compilers can use either.

> Nice! So, is it usual for compilers to implement extensions to the
> standard? If yes, where can I find the documentation for GHC
> extensions?

Different compilers have different extensions. Yhc has very few, Hugs
has a couple, GHC has loads. They are documented in the GHC manual.



More information about the Glasgow-haskell-users mailing list