[Hugs-users] Start hugs without loading Prelude.hs?

Ross Paterson ross at soi.city.ac.uk
Mon Dec 11 12:19:42 EST 2006


On Mon, Dec 11, 2006 at 04:23:21PM +0000, dfeustel at mindspring.com wrote:
> > [BTW, your mailer is mangling From: lines]
> 
> Thanks for the tip. What's getting mangled?

When you start a new thread, your From: line is

	From: Dave at haskell.org, Feustel at haskell.org

One of your replies to Mark Hills put his address into the From: line.

> I'm trying to understand what primitive operators are built into hugs
> that are then used to load the Prelude. (I'm a bottom-up type of person).

I don't think that a bottom-up approach that goes through Hugs is the
best way to learn Haskell (not that going through a compiler written
in Haskell will be any better).  You're better off taking the Haskell
98 Report as the baseline.

> > (If you still have that Prelude.hs you copied in the current directory,
> > you should remove it.)
>
> What I still don't understand is why that file being present affects
> the way hugs runs when hugs says it is ignoring the file.

The explanation is in the above messages of Mark Hills and myself; I
can't think of another way to express it.  Basically you put an internal
Hugs module where it wasn't expected.  Just don't do that.



More information about the Hugs-Users mailing list