[Haskell-cafe] Ordering vs. Order

Stefan Holdermans stefan at vectorfabrics.com
Thu Oct 7 04:36:23 EDT 2010


> I'm not a native English speaker and recently I was wondering about the two words "order" and "ordering" (the main reason why I write this to the Haskell mailing list, is that the type class "Ordering" does exist).

Irrelevant to your struggle, but note that the *type class* is dubbed "Ord", while the Prelude provides a *type* "Ordering":

  class ... => Ord a where ...
  data Ordering = LT | EQ | GT deriving ...



More information about the Haskell-Cafe mailing list