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. Apr 22, 2012
  5. Mar 30, 2012
  6. Mar 07, 2012
  7. Mar 02, 2012
  8. 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
    • Jyrki Jaakkola's avatar
      36800ad1
    • Ryan Davis's avatar
      convert ENSURE-GETHASH into a macro · d92432dd
      Ryan Davis authored
       Evaluate the default-form only if we actually use it.
      d92432dd
  9. Nov 09, 2011
  10. Nov 02, 2011
  11. Oct 29, 2011
  12. May 12, 2011
  13. Mar 06, 2011
  14. Oct 13, 2010
  15. Oct 08, 2010
  16. Sep 23, 2010
  17. Apr 11, 2010
  18. Apr 05, 2010
  19. Apr 04, 2010