Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Control.DotDotDot
Description
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:
> ((+) ... (+) ... (+)) (1 :: Int) 2 3 4 10
Documentation
class b ~ IsFun f => DotDotDot f (b :: Bool) where Source #
Class for defining ...
recursively on function types.
Minimal complete definition