Thomas Morley <thomasmorle...@gmail.com> writes: > Call me surprised. > The guile manual only gives code-examples comparing _two_ values with > eq? and friends. > I didn't know and didn't imagine it would work for more arguments as > you wrote above.
The Guile manual may be somewhat fixated on the C interface which only takes two values. There are several Scheme operators that have some automated behavior for a variable number of operands. Other candidates that may be surprising are < <= > >= The C API is strictly two-operands, but from Scheme you can throw a variable number at them. -- David Kastrup