@hackage / compose-ltr

More intuitive, left-to-right function composition.

Latest0.2.4

About

Metadata

  • Last updated , by Wizek
  • License MIT
  • Maintained by: 123.wizek@gmail.com

  • Lottery factor: 0

Links

Installation

Readme

Example

An example of where I find it useful:

process :: String -> Q Exp
process = id
  .> splitOnCommas
  .> map nameAndValue
  .> joinAsColumns
  .> wrapInParens
  .> parseHsStrToQQExp
  .> return

(source: https://github.com/Wizek/dump/blob/48443d5/src/Debug/Dump.hs#L77)