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

Idiom # 186: Exit program cleanly

See programming-idioms.org:


Running Example

Note that exit is an effect that can have different implementations. The default behaviour is to exit the program:

However, we might provide a different handler for this effect that continues the execution of the program: