Difference between revisions of "Multi-parameter type class"

From HaskellWiki
Jump to navigation Jump to search
m (→‎About: minor wibble)
m (Fix link: type classes)
Line 5: Line 5:
 
== About ==
 
== About ==
   
Basically, [[type]] [[class]]es which can take multiple arguments, such as:
+
Basically, [[type class|type classes]] which can take multiple arguments, such as:
   
 
<hask>
 
<hask>

Revision as of 16:01, 23 January 2008


About

Basically, type classes which can take multiple arguments, such as:

class Foo a b

Without functional dependencies or associated types, these multi-parameter type classes may cause too much ambiguity to pass the type-checker.

Also see

The Haskell' page