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. Jan 20, 2012
    • tpapp's avatar
      generic MEAN and MEDIAN, new function DISPLACE-ARRAY · 485544d4
      tpapp authored
       Objects other than sequences have means and medians (eg probability
       distributions, arrays, sequences/arrays wrapped in another object, etc), so
       it makes sense to make these functions generic.
      
       DISPLACE-ARRAY is a small utility function that is used in the implementation
       of MEDIAN for arrays, but is also of general utility because it makes the
       creation of displaced arrays simpler, dispensing with the need to specify the
       element type, and offering sensible defaults when one wants vectors.
      
       Also added tests for all the new functions/methods.
      485544d4
  5. Oct 13, 2010
  6. Sep 23, 2010
  7. Apr 05, 2010
  8. 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
  9. Nov 25, 2009
  10. Mar 24, 2009
  11. Nov 16, 2008
  12. Sep 07, 2008
  13. Jul 27, 2008
  14. 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
  15. Jul 07, 2008
  16. Jun 04, 2008
  17. Jun 02, 2008
  18. May 31, 2008
  19. Apr 27, 2008
  20. Apr 10, 2008
  21. Mar 27, 2008
  22. Mar 11, 2008
  23. Feb 17, 2008
  24. Dec 19, 2007
    • Nikodemus Siivola's avatar
      NTH-VALUE-OR · cbb90e6e
      Nikodemus Siivola authored
       * Thanks to Andreas Fuchs -- I only took the liberty of changing the name from
         MULTIPLE-VALUE-OR to NTH-VALUE-OR.
      cbb90e6e
    • Nikodemus Siivola's avatar
      ENSURE-GETHASH · 76e78e79
      Nikodemus Siivola authored
       * new function: like GETHASH, but saves the default value in table if
         key is not found.*
      76e78e79
  25. Nov 02, 2007
  26. Oct 31, 2007
  27. Oct 01, 2007
  28. Jul 20, 2007
  29. Jul 11, 2007
  30. Aug 27, 2007
  31. Jul 01, 2007