On 22-Nov-1999, c_stanto <[EMAIL PROTECTED]> wrote:
> I get this error
> ---------------------------------
>         Error after extract::
> Multiple arities for Main.printTable: arity 1 at 11:12 arity 3 at 12:12
> --------------------------------
...
> printTable :: Foo -> IO()
> printTable []   = putStr "\n"
> printTable x:xs = putStrLn x ++ printTable xs

"x:xs" should be "(x:xs)".

-- 
Fergus Henderson <[EMAIL PROTECTED]>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger [EMAIL PROTECTED]        |     -- the last words of T. S. Garp.

Reply via email to