Skip to content

erisco/control-dotdotdot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published