between-0.11.0.0: Function combinator "between" and derived combinators

Copyright(c) 2013-2015, Peter Trško
LicenseBSD3
Maintainerpeter.trsko@gmail.com
Stabilityexperimental
PortabilityNoImplicitPrelude
Safe HaskellSafe
LanguageHaskell98

Data.Function.Between.Strict.Internal

Description

Definitions used by family of strict function combinators. These may come handy, but clash with definitions available via Prelude.

Module available since version 0.11.0.0.

Synopsis

Documentation

(.) :: (b -> c) -> (a -> b) -> a -> c infixr 9 Source

Strict variant of function composition. Defined as:

(f . g) x = f $! g $! x

Internally used since version 0.10.0.0. Moved to Data.Function.Between.Strict.Internal module and exposed in version 0.11.0.0.

flip :: (a -> b -> c) -> b -> a -> c Source

Strict variant of flip. Defined as:

flip f b a = f $! a $! b

Since version 0.11.0.0.