Mmmmmmmm.........

and then How can I solve  this problem?
Would you say the solution.
Thank you.


"Ashley Yakeley" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> In article <[EMAIL PROTECTED]>,
>  "NamO" <[EMAIL PROTECTED]> 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



_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to