Skip to content
  1. Apr 26, 2012
    • Nikodemus Siivola's avatar
      tweak EXTREMUM · 0c39310e
      Nikodemus Siivola authored
       Return NIL if the sequence is empty, instead of the NO-EXTREMUM nonsense.
      
       It was bad design, because it's not an error someone higher up the stack can
       sensibly handle, and handling it locally is too verbose and slow.
      
          (or (extremum ...) (error ...))
      
       expresses the common case succintly, and fits the pattern of existing
       sequence functions.
      
       If it is deemed necessary, we can also add &KEY DEFAULT, but that seems
       overkill and has little precedent in sequence functions.
      0c39310e
  2. Apr 25, 2012
  3. Mar 30, 2012
  4. Nov 09, 2011
  5. Mar 06, 2011
  6. Mar 09, 2010
    • Nikodemus Siivola's avatar
      documentation updates · 829db7c7
      Nikodemus Siivola authored
        Add bunch of missing symbols to the manual, and go over several
        docstrings reformatting them for the benefit of the documentation
        generator.
      
        (A crapton of symbols are still not in the manual.)
      829db7c7
  7. Oct 09, 2009
  8. Aug 01, 2008
    • Nikodemus Siivola's avatar
      PROPER-LIST-LENGTH and related changes · 86f69d0a
      Nikodemus Siivola authored
      - New function: PROPER-LIST-LENGTH.
      
      - Share code between PROPER-LIST-LENGTH, LASTCAR, and SETF LASTCAR
        via a macrolet.
      
      - Use ENDP wrapped in SAFETY 3, to ensure proper detection of dotted
        lists.
      
      - Use PROPER-LIST-LENGTH instead of LIST-LENGTH in ROTATE, RANDOM-ELT,
        and SHUFFLE, and test that they signal an error for improper lists.
        (Thanks to Tobias Rittweiler)
      86f69d0a
  9. May 29, 2008
  10. Apr 10, 2008
  11. Mar 10, 2008
  12. Feb 23, 2008
  13. Dec 19, 2007
    • Nikodemus Siivola's avatar
      better SHUFFLE · 64a631d9
      Nikodemus Siivola authored
       * Thanks to Sean Ross: implement the Fisher/Yates/Knuth algorithm
         correctly.
      
       * As penance, specialize for lists as well: travel along the list,
         swapping towards the end -- marginally more efficient then swapping
         along the whole length.
      64a631d9
  14. Nov 26, 2007
  15. Aug 06, 2007
  16. Jul 11, 2007
  17. Jul 01, 2007
  18. Jun 25, 2007
  19. Jun 01, 2007
  20. Mar 18, 2007
  21. Oct 17, 2006
  22. Oct 16, 2006
  23. Oct 15, 2006