[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".) _______________________________________________ Hugs-Users mailing list Hugs-Users@haskell.org http://www.haskell.org/mailman/listinfo/hugs-users