From: Jeffrey C. <je...@cu...> - 2007-02-26 13:43:34
|
On Mon Feb 26, 2007 at 02:35:16PM +0100, Josip Gracin wrote: > Hello! > > Could somebody please explain to me why the following expression > produces a compiler warning about unreachable code (the unreachable part > being the expression which calls "sort"). I'm currently running SBCL > 1.0.1.30, but I've seen this behavior in various older versions. > > (defun pro () > (let* ((lst (list "ab" "cd" "af")) > (sorted-names (sort lst #'string<))) > (print sorted-names))) > It works for me. SBCL 1.0.1 from source on 1/15/2007 --Jeff |