Re: [Haskell-cafe] Parse error on input "|"

2007-05-31 Thread Akijmo
thx much green... this helped for the parser failure. Dan you were right too, cause now i got the interfering types [(Int,Int)] and Polynom for line 2. But i fixed this by replacing it with ([],[]) So thx much guys :D greenrd wrote: > > You neglected a ) - remember to count your parentheses i

Re: [Haskell-cafe] Parse error on input "|"

2007-05-31 Thread Dan Weston
The second argument of the second line of the definition does not match the expected type. (Polynom,Polynom) is a tuple, not a list, so []::(a,a) is not well typed for any a. Dan Akijmo wrote: Hi everyone. I am new to this Forum, Haskell and i am german, so i am sorry for "noob" failures or s

Re: [Haskell-cafe] Parse error on input "|"

2007-05-31 Thread Robin Green
You neglected a ) - remember to count your parentheses in future when you get an error directly after a parenthesised expression. -- Robin On Thu, 31 May 2007 08:09:23 -0700 (PDT) Akijmo <[EMAIL PROTECTED]> wrote: > > Hi everyone. > I am new to this Forum, Haskell and i am german, so i am sorr

[Haskell-cafe] Parse error on input "|"

2007-05-31 Thread Akijmo
Hi everyone. I am new to this Forum, Haskell and i am german, so i am sorry for "noob" failures or spelling mistakes. I am currently learning for an informatic exam (11th class) and i tried to code a function to sum a polynom with a pair of polynoms... (I actually want to to code a polynomdivisio