-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Illegal instance declaration for `MyClass (HashTable String String)'
    (The instance type must be of form (T a b c)
     where T is not a synonym, and a,b,c are distinct type variables)
In the instance declaration for `MyClass (HashTable String String)'

   even though the documentation in GHC states that HashTable is
declared as "data".

(Guessing) Maybe because 'String' is not a type variable?

*Exactly* because of that.

Cheers,

  Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFD93DyX0lh0JDNIpwRAuuWAJ9tT1n0RqDTP7yfJKGLLVDv6Nxf6wCfX6um
NsEcRI/1PSif8RVkK28SOjI=
=AhuP
-----END PGP SIGNATURE-----
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to