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

group_map

Sequence.group_map

group the elements of this sequence by a key of type and applies function f to all elements

example: group characters by category and add underscores around each character


=> {(digit => [_1_, _4_]), (letter => [_A_, _b_, _X_]), (other => [_?_])}

Type Parameters

type of the keys
type of the values in the result
0.095dev (GIT hash 09dff08de289bbb6f7136c7e2f8c66dcc1856bba)
last changed: 2026-04-16