- 13 Mar, 2021 1 commit
-
-
- 04 Mar, 2020 1 commit
-
-
Philipp Marek authored
-
- 08 Nov, 2018 3 commits
-
-
Philipp Marek authored
-
Philipp Marek authored
-
Philipp Marek authored
-
- 31 Jan, 2018 1 commit
-
-
Kamil Shakirov authored
Fixes compile-time warnings: "Inline expansion for LENGTH not found"
-
- 05 May, 2017 1 commit
-
-
Jacek Złydach authored
-
- 10 Apr, 2017 1 commit
-
-
Attila Lendvai authored
Move the definition of ensure-gethash at the top if the file to prepare for the next change.
-
- 27 Oct, 2016 1 commit
-
-
- 03 Apr, 2016 2 commits
-
-
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)
-
- 02 Apr, 2016 2 commits
-
-
Jan Moringen authored
-
Jan Moringen authored
-
- 26 Jan, 2013 1 commit
-
-
Nikodemus Siivola authored
-
- 26 Apr, 2012 1 commit
-
-
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.
-
- 25 Apr, 2012 1 commit
-
-
Nikodemus Siivola authored
From http://www.cliki.net/EXTREMUM A simple version built on top of REDUCE for now.
-
- 30 Mar, 2012 1 commit
-
-
Nikodemus Siivola authored
It's destructive.
-
- 09 Nov, 2011 1 commit
-
-
Jianshi Huang authored
-
- 06 Mar, 2011 3 commits
-
-
Nikodemus Siivola authored
Check for empty sequences and invalid bounding index designators.
-
Nikodemus Siivola authored
-
Nikodemus Siivola authored
-
- 09 Mar, 2010 1 commit
-
-
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.)
-
- 09 Oct, 2009 1 commit
-
-
François-René Rideau authored
-
- 01 Aug, 2008 1 commit
-
-
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)
-
- 29 May, 2008 1 commit
-
-
Nikodemus Siivola authored
Editing damage: extra IF surrounding the permutation guts. Also add a trivial test-case.
-
- 10 Apr, 2008 1 commit
-
-
Attila Lendvai authored
-
- 10 Mar, 2008 1 commit
-
-
Attila Lendvai authored
-
- 23 Feb, 2008 1 commit
-
-
Nikodemus Siivola authored
CLHS says the third argument to DEFINE-MODIFY-MACRO must be a symbol. Reported by Chun Tian.
-
- 19 Dec, 2007 1 commit
-
-
Nikodemus Siivola authored
* Thanks to Sean Ross: implement the Fisher/Yates/Knuth algorithm correctly. * As penance, specialize for lists as well: travel along the list, swapping towards the end -- marginally more efficient then swapping along the whole length.
-
- 26 Nov, 2007 1 commit
-
-
Attila Lendvai authored
-
- 06 Aug, 2007 1 commit
-
-
Stelian Ionescu authored
Type declareations like ((or fixnum null) bar) or (unsigned-byte foo) don't work on CLISP. Must use (type unsigned-byte foo) instead.
-
- 11 Jul, 2007 1 commit
-
-
Luís Oliveira authored
-
- 01 Jul, 2007 1 commit
-
-
Nikodemus Siivola authored
-
- 25 Jun, 2007 1 commit
-
-
Attila Lendvai authored
-
- 01 Jun, 2007 1 commit
-
-
Nikodemus Siivola authored
-
- 18 Mar, 2007 1 commit
-
-
Nikodemus Siivola authored
-
- 17 Oct, 2006 1 commit
-
-
Nikodemus Siivola authored
-
- 16 Oct, 2006 1 commit
-
-
Nikodemus Siivola authored
-
- 15 Oct, 2006 2 commits
-
-
Nikodemus Siivola authored
-
Nikodemus Siivola authored
-