[Haskell-cafe] putting SOE 'on the library path'
Michael Mossey
mpm at alumni.caltech.edu
Sat Mar 28 11:01:08 EDT 2009
This is a beginners question, which I have posted to
beginners at haskell.org several times, but because I have gotten no
answer, I thought I would try the cafe.
I'm working through the "School of Expression" book, and I would like to
install the code that comes with the book somewhere. Right now I have
to write my exercise programs in the same directory where the SOE code
is sitting so that my exercise programs can import SOE modules.
My platform is Windows.
I tried using the -i options to ghc and ghci, but to no avail. It wasn't
clear on Windows in what form -i takes its arguments: backslashes as
usual for Windows, forward slashes perhaps? How about paths with spaces
in them? Does it need quotes around the filename? I tried all
combinations. ghc never gave an error indicating there was something
wrong with what I typed. It happily accepted all forms of -i. But it
never found the libraries.
Thanks,
Mike
More information about the Haskell-Cafe
mailing list