[Haskell-cafe] In-place modification

Andrew Coppin andrewcoppin at btinternet.com
Tue Jul 10 15:10:32 EDT 2007


Neil Mitchell wrote:
> Hi
>
>> ...OK...and when you tell GHC to compile something, exactly which
>> compiler does it run? o_O
>
> It picks whichever one you have first on your $(PATH).

...right. Presumably this is isomorphic to "whichever one was installed 
the most recently"?

(Oh, wait... IIRC, on Windoze the GHC installer doesn't actually add GHC 
to the PATH variable. You have to do it by hand...)

> On linux you can do:
>
>> which ghc
> c:\path\to\ghc

Ah, true...



More information about the Haskell-Cafe mailing list