
10 Jan
2004
10 Jan
'04
7:04 a.m.
Mmmmmmmm.........
and then How can I solve this problem?
Would you say the solution.
Thank you.
"Ashley Yakeley"
In article
, "NamO" wrote: But above source make an error like bellow
Reading file "g:\Haskell\OperationTest.hs": Dependency analysis ERROR "g:\Haskell\OperationTest.hs":8 - Ambiguous variable occurrence "+" *** Could refer to: OperationTest.+ Prelude.+
There's already a definition for (+) imported from the Prelude. When you write "Succ (m + n)" the interpreter doesn't know whether you mean the one you've just defined ("OperationTest.+") or the one imported from the Prelude ("Prelude.+").
-- Ashley Yakeley, Seattle WA