Result type

Result of a computation

Direct children types

Failure
Failed computation
Success
Successful computation

Constructors

Result(fun:Fun) Source: stdlib.ngs:878
Runs the computation and wraps the result: a value is wrapped in Success and an exception is wrapped in Failure.

Returns

Success or Failure

Methods

ExitCode(r:Result) Source: stdlib.ngs:965
EXPERIMENTAL! Do not use!
report(tr:TestsResults, group_name:Str, test_name:Str, result:Result, critical:Bool)
Undocumented