--- This message is a formal comment which was submitted to formal-comment_at_r6rs.org, following the requirements described at: http://www.r6rs.org/process.html --- Submitter: John Cowan Email address: cowan_at_ccil.org Issue type: Enhancement Priority: Minor Component: Arithmetic Report version: 5.91 Summary: Max and min should be allowed to have zero arguments. In R5RS the max and min functions must take at least one argument, because there is no universal maximum or minimum. In R6RS, however, we have +0.inf and -0.inf. I suggest, therefore, that (max) => -0.inf and (min) => +0.inf. This also allows multiple-argument max and min to be defined using a fold primitive ver two-argument versions. Alex Shinn's remarks on #scheme inspired this comment, but he is not to be held responsible for it. -- John Cowan http://ccil.org/~cowan cowan_at_ccil.org There are books that are at once excellent and boring. Those that at once leap to the mind are Thoreau's Walden, Emerson's Essays, George Eliot's Adam Bede, and Landor's Dialogues. --Somerset MaughamReceived on Wed Dec 13 2006 - 23:11:30 UTC
This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:00 UTC