compose-ltr: More intuitive, left-to-right function composition.

[ data, library, mit ] [ Propose Tags ] [ Report a vulnerability ]

More intuitive, left-to-right function composition.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4
Dependencies base (>4 && <5) [details]
License MIT
Author Milán Nagy
Maintainer 123.wizek@gmail.com
Category Data
Source repo head: git clone git://github.com/Wizek/compose-ltr.git
Uploaded by Wizek at 2017-11-21T22:01:25Z
Distributions NixOS:0.2.4
Reverse Dependencies 1 direct, 1 indirect [details]
Downloads 5903 total (6 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for compose-ltr-0.2.4

[back to package description]

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)