erisco · GitHub

Haskell operator g ... f = \x1 .. xn -> g (f x1 .. xn). Compose functions such that all arguments are applied. Obviates (.).(.) and similar patterns in some cases.

Examples

Add four numbers

> ((+) ... (+) ... (+)) (1 :: Int) 2 3 4
10

About

Haskell operator `g ... f = \x1 .. xn -> g (f x1 .. xn)`.

Resources

Readme

BSD-3-Clause license

Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks

Releases

Packages

Contributors

Languages

Read the original on github.com ↗