Copyright | © Thor Michael Støre, 2015 |
---|---|

License | GPL v2 without "any later version" clause |

Maintainer | thormichael át gmail døt com |

Stability | experimental |

Safe Haskell | None |

Language | Haskell2010 |

Ordering functions. This is not of the relational model.

# Ordering functions.

orderBy :: Set a -> (a -> a -> Ordering) -> [a] Source

Takes any set (including that of a relation) and results in a list of the elements it consists of ordered by the given predicate

orderOn :: Ord b => Set a -> (a -> b) -> [a] Source

Takes any set (including that of a relation) and results in a list of the elements it consists of ordered on the given key function

Asc a |