switch
switch
(A
type
, B type
):
choice A, B,monad A, switch.this,Sequence A,equatable[Contains abstract features]
[Module base]
¶Type Parameters
Functions
group the elements of this sequence by a key of type K
f determines the key of an element
f determines the key of an element
0.095dev (2026-02-20 12:42:29 GIT hash dbcc3e4b3d2a59f66230b482cff8f0b018178d77 built by fridi@fzen)
that encode success and failure,
e.g. option (something/nil)
or outcome (something/error)