Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 275 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 275 Bytes

Control.DotDotDot

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