fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

pairwise

Sequence.pairwise

B 
type
,
f _ 
type
: Binary B T T
apply f to sliding window of pairs

example:


results in


example: difference of squares


results in increasing negative odd numbers

Type Parameters

Free Type Parameters

Arguments

0.099dev (GIT hash a35e75388cc5c7a861f5c2a3f42d121e3aab582a)
last changed: 2026-11-03