compose-ltr

More intuitive, left-to-right function composition.

Latest on Hackage:0.2.3

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by Milán Nagy
Maintained by 123.wizek@gmail.com

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)

Depends on:
Used by 1 package:
comments powered byDisqus