Meta-Effects
Special effects with irregular behaviour, such as the ability to use other effects as parameters.
Some effects have irregular structure or behaviour. These usually provide advanced behaviour, such as taking another effect as an input and modifying it.

Inline Try

1
try[ to]: %Effect%
2
try to: assert false
3
try: run my_func()
Copied!
This runs the provided effect in an implicit try section, ignoring any errors it produces.
There is no way to obtain the error produced by it (if one was) or to check whether it passed, other than checking for the result of the effect used.
In most cases, the try/catch section is a safer and more useful option.
Copy link
Contents
Inline Try