cookbook-3.0.1.1: Tiered general-purpose libraries with domain-specific applications.

Copyright(c) 2014 by Nate Pisarski
LicenseBSD3
Maintainernathanpisarski@gmail.com
StabilityStable
PortabilityPortable (Standalone - ghc)
Safe HaskellSafe
LanguageHaskell98

Cookbook.Ingredients.Tupples.Assemble

Description

Library for arranging and modifying lists of twopples. Dubber Tuppers? There has to be a better word for this. It works on two-sided Tupples.

Synopsis

Documentation

tupsort :: Ord b => [(a, b)] -> [(a, b)] Source #

Sorts a list of Tupples based on their second element.

assemble :: Ord b => [(a, b)] -> [a] Source #

Order a list of tupples by their rval, and collect the lvals as a list.

rmDb :: Eq a => [(a, b)] -> [(a, b)] Source #

Removes all double-entries from a list of tupples, contingent on just lval.