grapes-times-times-times-grapes: (***) :: (a -> c) -> (a' -> c') -> ((a, a') -> (c, c'))

Description Usage Arguments Details Value References

Description

(***) :: (a -> c) -> (a' -> c') -> ((a, a') -> (c, c'))

Usage

1
f %***% g

Arguments

f

The function that is applyied to the first pair component

g

The function that is applyied to the second pair component

Details

This is the function instance's *** of Arrow.

Value

A function of arity one, whith an argument that must be a pair, that returns a pair. r((a,b)) = (f(a), g(b))

References

Haskell's Control.Arrow


argent0/functional documentation built on May 10, 2019, 1:26 p.m.