Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: 'cabal install hdirect' can't find hdirect (Larry Evans)
2. Re: 'cabal install hdirect' can't find hdirect (Stephen Tetley)
----------------------------------------------------------------------
Message: 1
Date: Sun, 04 Jul 2010 11:14:27 -0500
From: Larry Evans <[email protected]>
Subject: Re: [Haskell-beginners] 'cabal install hdirect' can't find
hdirect
To: Stephen Tetley <[email protected]>, [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 07/04/10 10:50, Stephen Tetley wrote:
> You don't need HDirect for this.
>
> I've attached an early revision of Wolfram Kahl's code that I download
> years ago - this is a plain Haskell version rather than a literate
> file you should find it easier to use.
>
> The file itself seems to have disappeared from the web, though maybe
> it is findable through the Wayback machine.
>
>
Thanks Stephen; however, when I tried with your interpret.hs,
I got the same error I got with:
http://www.cas.mcmaster.ca/~kahl/FP/2003/Interpreter.lhs
that is:
={============ cut here ==============
~/prog_dev/haskell/modular-interpreter $ hugs -98 +o Interpreter.hs
__ __ __ __ ____ ___ _________________________________________
|| || || || || || ||__ Hugs 98: Based on the Haskell 98 standard
||___|| ||__|| ||__|| __|| Copyright (c) 1994-2005
||---|| ___|| World Wide Web: http://haskell.org/hugs
|| || Bugs: http://hackage.haskell.org/trac/hugs
|| || Version: September 2006 _________________________________________
Hugs mode: Restart with command line option +98 for Haskell 98 mode
ERROR "Interpreter.hs" - Can't find imported module "FiniteMaps"
Hugs>
=}============ cut here ==============
The only reason I though hdirect was needed was because it has
a FiniteMaps module. Hmm...I looked more closely
and it has a FiniteMap module.
Where do can I get this FiniteMaps module?
TIA.
-Larry
------------------------------
Message: 2
Date: Sun, 4 Jul 2010 17:19:03 +0100
From: Stephen Tetley <[email protected]>
Subject: Re: [Haskell-beginners] 'cabal install hdirect' can't find
hdirect
Cc: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
Hi Larry
Hugs comes with a library - FiniteMap. Maybe FiniteMaps is a spelling
mistake or maybe it it a module the Wolfram Kahl didn't distribute.
In the first instance I would remove the 's' from the import line
(line 32) and see what happens.
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 25, Issue 13
*****************************************