Skip to content
Snippets Groups Projects
  1. Feb 25, 2022
  2. Feb 04, 2022
  3. Jan 28, 2022
  4. Jul 22, 2021
  5. Aug 21, 2020
  6. Mar 04, 2020
  7. Jan 25, 2020
  8. Apr 10, 2017
    • Attila Lendvai's avatar
      Fix: earlier keys take priority in ALIST-HASH-TABLE and PLIST-HASH-TABLE · 0426bd2f
      Attila Lendvai authored
      Also record tests for the new behavior.
      
      This is a semantic change, but more in line with how alists and
      plists are defined in the CLHS.
      
      See '15.6. Association Lists' and 'property list' in the Glossary.
      
      Reported by Christoph Arenz to alexandria-devel in
      'Wrong handling of duplicate keys in alist-hash-table and plist-hash-table'.
      0426bd2f
  9. Oct 27, 2016
  10. Aug 23, 2016
    • Attila Lendvai's avatar
      numbers.lisp/lerp: The correct version is numerically stable, · 926a0666
      Attila Lendvai authored
      at the expense of an extra multiply. The unstable version can often be
      converted to a fast instruction on a lot of machines, though this is
      machine/implementation specific. As alexandria is more about correct code,
      than efficiency, and we're only talking about a single extra multiply,
      many would prefer the stable version.
      
      Patch by github.com/mfiano.
      926a0666
  11. Apr 03, 2016
  12. Apr 27, 2015
  13. Jul 30, 2014
  14. May 12, 2014
  15. Mar 04, 2014
  16. Feb 16, 2014
  17. Jan 26, 2013
  18. 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
  19. Apr 25, 2012
  20. Apr 22, 2012
  21. Mar 30, 2012
  22. 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
  23. Nov 09, 2011
  24. Nov 02, 2011
  25. Oct 29, 2011
  26. Sep 23, 2010
  27. Apr 05, 2010
  28. Mar 09, 2010
  29. Feb 12, 2010
  30. Nov 01, 2009
Loading