maximize null list => 0?
Jeff Cunningham <[email protected]> Sat, 8 Nov 2025 18:02:04 -0500
| Newsgroups | gmane.lisp.steel-bank.general |
|---|---|
| Message-ID | <20251108180204.5f11bd50@Isabelle> |
I just noticed that (loop for i in '() maximize i) ; => 0 Seems like this violate the Principal of Least Surprise. I thoutht it was going to return NIL. Given the maturity of Lisp, it must have been a design decision argued about in a committee. I'm curious if anyone knows what the rational was. -- Jeff