Documentation for fn description
Functions can currently be given a description with the syntax
fn square x -- Squares a single number
echo $(( x * x ))
end
This description is then printed when fn
is run without arguments.
However, this functionality is not currently documented in the "Functions" chapter in the Ion Manual. Would you be interested in a PR adding documentation for the description?