- Aug 14, 2017
-
-
Attila Lendvai authored
-
- Apr 10, 2017
-
-
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'.
-
Attila Lendvai authored
Move the definition of ensure-gethash at the top if the file to prepare for the next change.
-
- Feb 12, 2017
-
-
Attila Lendvai authored
Patch by Bike from #lisp, http://paste.lisp.org/display/338772
-
Attila Lendvai authored
-
- Nov 22, 2016
-
-
Steve Losh authored
fix typos in docstring and error messages.
-
- Oct 27, 2016
-
-
Attila Lendvai authored
Based on Kyle Littler's patch.
-
Attila Lendvai authored
-
Attila Lendvai authored
-
Attila Lendvai authored
-
Jan Moringen authored
-
- Aug 23, 2016
-
-
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.
-
- Apr 03, 2016
-
-
Jan Moringen authored
Using the implementation's EMPTYP has the potential advantage of supporting user-defined sequence types (as is the case with SBCL). This commit tests for SEQUENCE:EMPTYP and defines ALEXANDRIA:EMPTYP in terms of it. For implementations that do not provide SEQUENCE:EMPTYP, nothing changes.
-
Jan Moringen authored
EMPTYP usually (except, maybe, for some user-defined sequence types) has two advantages: 1. it has O(1) runtime while LENGTH can be O(n) 2. it can work on user-defined, infinite sequences (given implementation support and integration of ALEXANDRIA:EMPTYP with the implementation's mechanism as is the case for SBCL)
-
Jan Moringen authored
export and document them use them in READ-FILE-INTO-{STRING,BYTE-VECTOR} no smoke test for READ-STREAM-CONTENT-INTO-BYTE-VECTOR due to lack of something like WITH-INPUT-FROM-BYTE-VECTOR
-
- Apr 02, 2016
-
-
Jan Moringen authored
-
Jan Moringen authored
-
- Apr 27, 2015
-
-
Salvador Fandino authored
Fixed problems: 1) Unintended variable capture affecting KEY, HASH-TABLE and DEFAULT FORMS 2) Multiple evaluation of the KEY and HASH-TABLE forms
-
- Jul 30, 2014
-
-
James M. Lawrence authored
ARRAY-DIMENSION-LIMIT is an exclusive upper bound. Signed-off-by:
Attila Lendvai <attila.lendvai@gmail.com>
-
Attila Lendvai authored
-
James M. Lawrence authored
REMF does not remove duplicate keys, and re-scanning the list for each key is slower. Signed-off-by:
Attila Lendvai <attila.lendvai@gmail.com>
-
- May 12, 2014
-
-
Jan Moringen authored
Previously, BISECT-BIG was never called.
-
- Mar 04, 2014
-
-
Attila Lendvai authored
Suggested by Stas Boukarev.
-
Attila Lendvai authored
Patch by "James M. Lawrence" <llmjjmll@gmail.com>
-
Attila Lendvai authored
-
James M. Lawrence authored
Signed-off-by:
Attila Lendvai <attila.lendvai@gmail.com>
-
- Feb 16, 2014
-
-
aarvid authored
-
Attila Lendvai authored
-
- Jan 26, 2013
-
-
Nikodemus Siivola authored
-
Nikodemus Siivola authored
-
Nikodemus Siivola authored
-
Michael Stevens authored
-
Nikodemus Siivola authored
-
Nikodemus Siivola authored
-
Nikodemus Siivola authored
-
Jan Moringen authored
add IO chapter containing READ-FILE-INTO-{STRING,BYTE-VECTOR} change include/fun-alexandria-ensure-gethash.texinfo -> include/macro-alexandria-ensure-gethash.texinfo
-
- Apr 26, 2012
-
-
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.
-
- Apr 25, 2012
-
-
Nikodemus Siivola authored
From http://www.cliki.net/EXTREMUM A simple version built on top of REDUCE for now.
-
- Apr 22, 2012
-
-
Nikodemus Siivola authored
Yech. Phui. Tabs.
-
Nikodemus Siivola authored
Workarounds for the Clisp and CMUCL failures. Newer Clisp's no longer have the stack-overflow for the hash-table test, so enable it too.
-