On 23 Dec 2004, at 17:09, Maur�cio wrote:
Kind error: `Complex' is not applied to enough type arguments

Complex is a type constructor.

Complex Double (e.g.) is a type.

So try

roots :: (Complex Double, Complex Double, Complex Double) -> (Complex Double, Complex Double);

or indeed

roots :: (RealFloat t) => (Complex t, Complex t, Complex t) -> (Complex t, Complex t);

Jules

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

Reply via email to