[Haskell-cafe] Ignorant begginer question
jules at jellybean.co.uk
Thu Dec 23 12:57:21 EST 2004
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.
roots :: (Complex Double, Complex Double, Complex Double) -> (Complex
Double, Complex Double);
roots :: (RealFloat t) => (Complex t, Complex t, Complex t) -> (Complex
t, Complex t);
More information about the Haskell-Cafe