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

switch

switch

(A 
type
, B 
type
)
:
choice A, B,monad A,Sequence A
[Contains abstract features]
[Module base]
switch is the parent feature of all choices
that encode success and failure,
e.g. option (something/nil)
or outcome (something/error)

Type Parameters

A
:
Any
[Module base]
B
:
Any
[Module base]

Functions

execute this Sequence of process+args
0.099dev (GIT hash a68bce9af280552faedee34cd5433dc10b6454de)
last changed: 2026-10-14