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 (GIT hash 5a97c5766ea04e5412cbfaed4c53658737cd2e4b)
that encode success and failure,
e.g. option (something/nil)
or outcome (something/error)