Skip to content
  1. Jan 26, 2013
  2. 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
  3. Apr 25, 2012
  4. Mar 30, 2012
  5. Nov 09, 2011
  6. Mar 06, 2011
  7. 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
  8. Oct 09, 2009
  9. 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
  10. May 29, 2008
  11. Apr 10, 2008
  12. Mar 10, 2008
  13. Feb 23, 2008
  14. 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
  15. Nov 26, 2007
  16. Aug 06, 2007
  17. Jul 11, 2007
  18. Jul 01, 2007
  19. Jun 25, 2007
  20. Jun 01, 2007
  21. Mar 18, 2007
  22. Oct 17, 2006
  23. Oct 16, 2006
  24. Oct 15, 2006