toolshed-0.17.0.2: Ill-defined library.

Safe HaskellSafe
LanguageHaskell2010

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 -> result Source #

Extends the concept of curry.

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

Extends the concept of uncurry.

Accessors

getFirst :: (a, b, c, d) -> a Source #

Access the first datum from the specified quadruple.

getSecond :: (a, b, c, d) -> b Source #

Access the second datum from the specified quadruple.

getThird :: (a, b, c, d) -> c Source #

Access the third datum from the specified quadruple.

getFourth :: (a, b, c, d) -> d Source #

Access the fourth datum from the specified quadruple.