Alex,
Just remove the line
import Word (word32ToInt)
and replace all *other* occurrences of word32ToInt with fromIntegral.
HTH,
Stefan
On Jul 27, 2005, at 10:46 AM, Alex Edelsburg wrote:
Thanks for the quick reply, Lennart. If I understand you correctly, I
should only have the following
"So you need to replace it." That was the magic command which I misunderstood... It's running perfectly now. Thanks to everyone who helped with this.
~Alex
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell
Alex Edelsburg <[EMAIL PROTECTED]> writes:
> I removed both import statements from the code and tried to run
> again. This time HUGS generated the following error.
> ERROR "Animation.hs":57 - Undefined variable "word32ToInt"
...which is, as pointed out previously, deprecated in favor of
"fromInte
Thanks for the quick reply, Lennart. If I understand you correctly, I
should only have the following import
import Word (word32ToInt)
Is this correct? If so, this is how my code was at the beginning. With
only that import statement, I get this error.
ERROR "Animation.hs" - Unknown enti
But who said you should remove the import of word32ToInt?
It was only fromIntegral that was discussed.
-- Lennart
Alex Edelsburg wrote:
Thanks for your suggestion.
--import Word (fromIntegral)
--import Word (word32ToInt)
I removed both import statements from the code and tried to run ag
Thanks for your suggestion.
--import Word (fromIntegral)
--import Word (word32ToInt)
I removed both import statements from the code and tried to run again.
This time HUGS generated the following error.
ERROR "Animation.hs":57 - Undefined variable "word32ToInt"
~Alex
On 26/07/05, Alex Edelsburg <[EMAIL PROTECTED]> wrote:
> Thanks for the quick reply. I rewrote import Word (word32ToInt) as
> import Word (fromIntegral). It took much longer for Hugs to compile my
> code (I know its technically an interpeter...) but when it finished, I
> got the following error.
>
Thanks for the quick reply. I rewrote import Word (word32ToInt) as
import Word (fromIntegral). It took much longer for Hugs to compile my
code (I know its technically an interpeter...) but when it finished, I
got the following error.
ERROR "Animation.hs" - Unknown entity "fromIntegral" importe
On 7/27/05, Alex Edelsburg <[EMAIL PROTECTED]> wrote:
>
> Hello!
> I'm a student in Professor John Peterson's Elements of Computing (class
> site located here: http://cs.yale.edu/cs110-05) and he's having me learn
> Haskell with Paul Hudak's SOE book. I'm working on the PaddleBall in 20
> li
Hello!
I'm a student in Professor John Peterson's Elements of Computing
(class site located here: http://cs.yale.edu/cs110-05)
and he's having me learn Haskell with Paul Hudak's SOE book. I'm
working on the PaddleBall in 20 lines at the end of Chapter 15 and I'm
having a problem with HUGS.
10 matches
Mail list logo