toolshed-0.15.0.1: Utilities used by other packages.

Safe HaskellSafe-Inferred
LanguageHaskell98

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.