Language

Pipes & composition

value >> reducer >> reducer

>> is left-associative. x >> a >> b means b(a(x)).

{"xs": [1, 2, 3]} >> se_sum >> print   ~~ 6

Pipes compose reducers without parentheses noise. The idiomatic Signum style threads a dict through a chain, with each stage adding fields or transforming them:

({"xs": [1, 2, 3]} >> normalize) >> (classify >> print)

Grouping with (…) is only ever about reading order; the semantics stay the same.