Suppose you have a function which just prints its arguments formatted:
__print_spec_result() {
printf '%s %s%s (%.3f s)%s\n' "$1" "$2" "$cyan" "$3" "$reset"
}
Here, $1 and $2 are arguments to the function, $cyan and $reset are constants.
Is this function pure in the functional sense?