Re: [Haskell] Accessing files without typing the entire path name
13 Jan
2007
13 Jan
'07
7:33 a.m.
[moving to hugs-users] On Fri, Jan 12, 2007 at 04:22:51PM -0800, Neena Kaushik wrote:
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>
Call the file Lab1.hs, and then say :l Lab1 (Your file should also begin with the line "module Lab1 where".)
6943
Age (days ago)
6943
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ross Paterson