toolshed-0.17.0.2: Ill-defined library.

Safe HaskellSafe
LanguageHaskell2010

ToolShed.Data.Triple

Contents

Description

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

Synopsis

Functions

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

Extends the concept of curry.

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

Extends the concept of uncurry.

Accessors

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

Access the first datum from the specified triple.

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

Access the second datum from the specified triple.

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

Access the third datum from the specified triple.