flow

Write more understandable Haskell. http://taylor.fausak.me/flow/

Latest on Hackage:1.0.21

See all snapshots flow appears in

MIT licensed and maintained by Taylor Fausak

Module documentation for 1.0.2

This version can be pinned in stack with:[email protected]:89e6af94c98384ad79949f9df8cb4dcb55e247abbd1cafccdb693e4eb8a648a8,1307

Flow

Write more understandable Haskell.

Version Build Dependencies


Flow is a package that provides functions and operators for writing more understandable Haskell. It is an alternative to some common idioms like ($) for function application and (.) for function composition.

Requirements

Flow requires a Haskell compiler. It is tested with recent versions of GHC, but older or different compilers should be acceptable. For installation with Cabal, Flow requires at least Cabal 1.8.

Installation

To add Flow as a dependency to your package, add it to your Cabal file.

build-depends: flow ==1.0.*

See the change log for a detailed list of changes.

Usage

Flow is designed to be imported unqualified. It does not export anything that conflicts with the base package.

import Flow

Cheat sheet

Flow Base
`x > f`
`f < x`
apply x f f x
f .> g f >>> g
g <. f g . f
compose f g x g (f x)
x !> f -
f <! x f $! x
apply' x f seq x (f x)

For more information about Flow, please read the Haddock documentation.

Changes

Change log

Flow uses Semantic Versioning.

v1.0.2 (2015-10-04)

  • Updated documentation.

v1.0.1 (2015-06-04)

  • Updated documentation.
  • Supported doctest 0.10.

v1.0.0 (2015-04-01)

  • Initially released.

v0.0.0 (2015-04-01)

  • Initially created.
Depends on 1 package(full list with versions):