- Apr 22, 2012
-
-
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.
-
- Mar 30, 2012
-
-
Nikodemus Siivola authored
Added test-case.
-
Nikodemus Siivola authored
This reverts commit 485544d4. MEAN and MEDIAN are again non-generic, and DISPLACE-ARRAY is removed. Motivation on the mailing list.
-
- Jan 20, 2012
-
-
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.
-
Jyrki Jaakkola authored
-
- Nov 09, 2011
-
-
Jianshi Huang authored
-
- Nov 02, 2011
-
-
James M. Lawrence authored
Multiple evaluation of the function argument, oops.
-
- Oct 29, 2011
-
-
Mason Smith authored
Plus tests.
-
Svante Carl v. Erichsen authored
No need to depend on the vagaries of ADJUST-ARRAY.
-
Anton Kovalenko authored
CIRCULAR-TREE-P had an unfortunate corner case, causing it to overflow the stack (seen and repoted at #lisp for '#1=(#1#).) The problem is caused by the end-test (of the outer DO) being run before the body has a first chance to check for (member slow seen).
-
- Sep 23, 2010
-
-
Nikodemus Siivola authored
Patch by Gustavo on alexandria-devel. Also add tests.
-
- Apr 05, 2010
-
-
Nikodemus Siivola authored
-
- Mar 09, 2010
-
-
Nikodemus Siivola authored
Patch by: Peter Graves <peter@armedbear.org>
-
- Feb 12, 2010
-
-
Attila Lendvai authored
-
- Nov 01, 2009
-
-
Kilian Sprotte authored
Added new test cases for DISJOIN, CONJOIN, COMPOSE and MULTIPLE-VALUE-COMPOSE. All of them testing for the edge case of a single predicate / function.
-
- Sep 16, 2009
-
-
Johan Ur Riise authored
-
- Jul 27, 2008
-
-
Luís Oliveira authored
- can't assume that (upgraded-array-element-type 'fixnum)
-
Luís Oliveira authored
- COPY-HASH-TABLE.1 causes a stack overflow due to a CLISP bug. - ALIST-HASH-TABLE.1, PLIST-HASH-TABLE.1 fail because HASH-TABLE-TEST returns EXT:FASTHASH-{EQ,EQL}.
-
Luís Oliveira authored
- TYPEP returns a generalized boolean. On Lisps like ECL, this detail was causing some tests to fail. ERRORP takes this into account.
-
Luís Oliveira authored
- make it usable for other Lisps besides SBCL. - TEST-OP runs tests both compiled and evaluated.
-
- Aug 01, 2008
-
-
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)
-
- May 31, 2008
-
-
Nikodemus Siivola authored
-
- May 29, 2008
-
-
Nikodemus Siivola authored
Editing damage: extra IF surrounding the permutation guts. Also add a trivial test-case.
-
- Apr 10, 2008
-
-
Attila Lendvai authored
-
- Mar 11, 2008
-
-
Tobias C. Rittweiler authored
* conditions.lisp (unwind-protect-case): New macro. Similiar to CL:UNWIND-PROTECT except that it's possible to explicitly specify under which circumstances cleanup operations are run. * tests.lisp (unwind-protect-case.1-5): New test cases.
-
- Mar 13, 2008
-
-
Tobias C. Rittweiler authored
* types.lisp: Fix quoting problem introduced by Attila's last patch; additionally add automatically generated docstrings to all the types defined. * tests.lisp (cdr5.*): New test cases.
-
- Mar 11, 2008
-
-
Tobias C. Rittweiler authored
* hash-tables.lisp (copy-hash-table): Added new &key arg :KEY; it's run on each element before it's stored in the new HT. Additionally, make all &key args get their default even when NIL was passed for them. * tests.lisp (copy-hash-table.2): New test case.
-
Tobias C. Rittweiler authored
* tests.lisp (define-constant.1): Adapted to latest changes; argument to :KEY is now evaluated.
-
- Feb 17, 2008
-
-
Nikodemus Siivola authored
* More efficient with constant arguments. * Respect lexical environment with non-constant arguments.
-
Nikodemus Siivola authored
* Support (once-only ((nx x)) ...) style also.
-
Nikodemus Siivola authored
* Like DOLIST, but iterates over plists.
-
Nikodemus Siivola authored
* ...so that running tests multiple times caused unrelated tests to fail due to coalesced constants being frobbed. Gah.
-
- Dec 19, 2007
-
-
Nikodemus Siivola authored
* Thanks to Andreas Fuchs -- I only took the liberty of changing the name from MULTIPLE-VALUE-OR to NTH-VALUE-OR.
-
Nikodemus Siivola authored
* So SANS is now REMOVE-FROM-PLIST. ...I have to say that I'm still not sure I like this: (remove-from-plist x y) ; which is the plist? The common usage in REMOVE &co is to put the element designators first. This is confusing. Maybe we really want both: function SANS plist &rest keys function REMOVE-FROM-PLIST keys plist
-
Nikodemus Siivola authored
* plus a test-case
-
Nikodemus Siivola authored
* new function: like GETHASH, but saves the default value in table if key is not found.*
-
Nikodemus Siivola authored
-
- Jul 20, 2007
-
-
Luís Oliveira authored
- Added respective documentation to the manual. - New test: NCONCF.1
-
- Jul 11, 2007
-
-
Luís Oliveira authored
-
- Jun 01, 2007
-
-
Nikodemus Siivola authored
-