1. 26 Apr, 2012 1 commit
    • 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. 25 Apr, 2012 1 commit
  3. 30 Mar, 2012 1 commit
  4. 20 Jan, 2012 1 commit
    • 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. 13 Oct, 2010 2 commits
  6. 23 Sep, 2010 1 commit
  7. 05 Apr, 2010 1 commit
  8. 09 Mar, 2010 1 commit
    • 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. 25 Nov, 2009 1 commit
  10. 24 Mar, 2009 1 commit
  11. 16 Nov, 2008 1 commit
  12. 07 Sep, 2008 1 commit
  13. 27 Jul, 2008 1 commit
  14. 01 Aug, 2008 1 commit
    • 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. 07 Jul, 2008 4 commits
  16. 04 Jun, 2008 1 commit
  17. 02 Jun, 2008 1 commit
  18. 31 May, 2008 1 commit
  19. 27 Apr, 2008 1 commit
  20. 10 Apr, 2008 1 commit
  21. 27 Mar, 2008 1 commit
  22. 11 Mar, 2008 1 commit
  23. 17 Feb, 2008 1 commit
  24. 19 Dec, 2007 2 commits
    • 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. 02 Nov, 2007 1 commit
  26. 31 Oct, 2007 1 commit
  27. 01 Oct, 2007 1 commit
  28. 20 Jul, 2007 3 commits
  29. 11 Jul, 2007 1 commit
  30. 27 Aug, 2007 1 commit
  31. 01 Jul, 2007 3 commits