Part three of a small series explaining Fuzion using idioms from https://www.programming-idioms.org/.
Fuzion idiom #3, Create a procedure:
A procedure in Fuzion is a feature with effects.
A small 🧵1/8…
For library features, the effects must be explicit. In our example, if we would want to place it in a library, we must hence add `! io.out` after the type signature to document the use of this effect, otherwise building that library module would result in an error:
A Mastodon instance for programming language theorists and mathematicians. Or just anyone who wants to hang out.
More on the Fuzion language, more examples, idioms, a tutorial, design background can be found at https://flang.dev