Names for R6RS flmax and SRFI 144 flmax Peter McGoron 02 Nov 2026 23:00 UTC

Currently, SRFI 276 makes `flmax` the R6RS flmax, where NaNs in any
argument return NaN. SRFI 144’s `flmax` is `flmax-filter-nans`, which
ignores NaNs in input when possible.

I think that it is better to make this SRFI’s library backwards
compatible with SRFI 144, and in this case what is `flmax-filter-nans`
would now become `flmax`.

Then what should the `flmax` that returns NaN when a NaN is input be
called? `filter-nans` is a succinct, self-describing name, but I do not
know of a good name for the other case. C and IEEE use `max` and
`maximum`, which are simply awful names.

Maybe `flmax-or-nan` ?

-- Peter McGoron