Logo GenPRES

Operators Module

Holds two operators that apply a function to the second and then the first element of a pair. The second operator returns the result paired with the second element.

Functions and values

Function or value Description

(|>>) (x1, x2) f

Full Usage: (|>>) (x1, x2) f

Parameters:
    x1 : 'a
    x2 : 'b
    f : 'b -> 'a -> 'c

Returns: 'c
Type parameters: 'a, 'b, 'c
x1 : 'a
x2 : 'b
f : 'b -> 'a -> 'c
Returns: 'c

(|>>>) (x1, x2) f

Full Usage: (|>>>) (x1, x2) f

Parameters:
    x1 : 'a
    x2 : 'b
    f : 'b -> 'a -> 'c

Returns: 'c * 'b
Type parameters: 'a, 'b, 'c
x1 : 'a
x2 : 'b
f : 'b -> 'a -> 'c
Returns: 'c * 'b

Type something to start searching.