toolshed-0.15.0.0: Utilities used by other packages.

Safe HaskellSafe-Inferred

ToolShed.Data.Quadruple

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Miscellaneous operations on quadruples.
CAVEAT
Import fully qualified, since some identifiers clash with Triple.

Synopsis

Functions

curry4 :: ((a, b, c, d) -> result) -> a -> b -> c -> d -> resultSource

Extends the concept of curry.

uncurry4 :: (a -> b -> c -> d -> result) -> (a, b, c, d) -> resultSource

Extends the concept of uncurry.

Accessors

getFirst :: (a, b, c, d) -> aSource

Access the first datum from the specified quadruple.

getSecond :: (a, b, c, d) -> bSource

Access the second datum from the specified quadruple.

getThird :: (a, b, c, d) -> cSource

Access the third datum from the specified quadruple.

getFourth :: (a, b, c, d) -> dSource

Access the fourth datum from the specified quadruple.