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

dfeustel at mindspring.com dfeustel at mindspring.com
Mon Dec 11 12:58:29 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
> 
> 
> One of your replies to Mark Hills put his address into the From: line.

I am no longer using a standard email program. When I reply to a message,
I contstruct the reply by manually editing the message being replied to.
I make mistakes when I do that. One of the mistakes I make is forgetting
to update the From: address. I'll try to be more careful.
 
> > 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.

That is my plan. I expect to buy copies of the revised report and the
Haskell Road to Logic,... book I got through interlibrary loan. The
revised report is available online, but I find reading a physical book
handy when I want to take a break from the computer.
 
> > > (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.

At some point I am going to fix that problem in my copy of hugs. 

Dave Feustel


More information about the Hugs-Users mailing list