Executable library
The library can be written as a module:
It can be run with:
Output:
It can then be used with a program such as:
Called with a command line as:
The environment variable RAKULIB might be necessary if the file Hailstone.rakumod is not in the standard library path for Raku.
Last updated