[Haskell] Accessing files without typing the entire path name

Neena Kaushik nrkaushik at scu.edu
Fri Jan 12 19:22:51 EST 2007


Hello,

I am trying to set up the hugs search path so that all the files from a
particular directory can be loaded without giving the entire path name.
I tried the following

Hugs.Base> :set
-P.:{Home}/lib/hugs/packages/*:/usr/local/lib/hugs/packages/*:{Hugs}/libraries:{Hugs}/packages/*:{Hugs}/oldlib:/home/nkaushik/coen70/lab1
Hugs.Base> :load lab1.hs
Error - Unable to open file "lab1.hs"  

Hugs.Base> :load /home/nkaushik/coen70/lab1/lab1.hs
Main>

Could someone please help me ? Thanks.

Regards,
Neena Kaushik




More information about the Haskell mailing list