Doug Coleman
7c7bb93c55
factor: Rename GENERIC# to GENERIC#:.
...
Fixes #1670 .
2017-06-01 13:58:58 -05:00
John Benediktsson
44da4ed4dd
sequences: fix filter! to allow stack arguments to be used by the quot.
2017-03-05 14:09:03 -08:00
John Benediktsson
b51617db16
sequences: simplify (map-find).
2017-02-07 19:42:58 -08:00
John Benediktsson
baaa06278c
Revert "sequences: swap stack arguments for start/start*/subseq?."
...
This reverts commit 63b0593824
.
2017-01-21 07:20:14 -08:00
John Benediktsson
63b0593824
sequences: swap stack arguments for start/start*/subseq?.
...
It is more natural to be ( seq subseq -- ? ).
2017-01-20 22:49:53 -08:00
John Benediktsson
f0251cb2ad
sequences: remove (indices).
2016-12-28 16:40:27 -08:00
Doug Coleman
21461a1b75
core: selector-for and collector-for are the wrong naming convention--they should be selector-as and collector-as because they take exemplars.
...
The exemplar is the starting length of the output sequence in collector-as, so add another collector-for-as that takes a seq that we are making a collector for.
2016-05-26 14:36:11 -07:00
Doug Coleman
51b70b2050
core: clean up split-lines with subseq-as. clean up subseq/subseq-as/subseq-unsafe/subseq-unsafe-as.
2016-04-05 12:42:38 -07:00
Doug Coleman
20aadd5688
core: rename some double paren words.
2016-03-25 03:13:27 -07:00
Jon Harper
cb6ddb1735
rename math.statistics:cum-map to sequences:accumulate*
2016-03-08 13:41:54 -08:00
John Benediktsson
59caf874a3
syntax: removing #! as a comment character.
...
We don't need two types of comments and shebang (#!) is handled
natively by the lexer, so the original reason for #! is not valid.
2015-09-09 18:28:08 -07:00
John Benediktsson
e477f6996f
Fix comments to be ! not #!.
2015-09-08 16:15:10 -07:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
02008979d9
factor: Change ERROR: foo ; to define ``throw-foo`` instead of having ``foo`` throw implicitly. The old ``foo`` still throws implicitly because this is a big change to get right in one patch, but it should be removed soon.
2015-08-12 15:26:18 -05:00
John Benediktsson
b82d866340
sequences: bring back check-length.
2015-07-20 09:58:12 -07:00
John Benediktsson
3ea9f09f6a
fix some sets:members.
2015-07-20 09:32:31 -07:00
John Benediktsson
fb688cc08b
sequences: integer length for repetition, use English.
2015-07-17 17:42:41 -07:00
John Benediktsson
17386d0608
Revert "sequences: simplify find-from and find-last-from."
...
This reverts commit 903b8eec0b
.
2015-07-17 16:41:56 -07:00
John Benediktsson
743928ae7d
sequences: use check-length to force integer partial dispatch in iteration.
2015-07-17 13:59:33 -07:00
John Benediktsson
9c4b3e7e43
sequences: define a 2each-from, use each-from more.
2015-07-17 13:40:01 -07:00
John Benediktsson
903b8eec0b
sequences: simplify find-from and find-last-from.
2015-07-17 13:26:43 -07:00
John Benediktsson
9fad4187f3
sequences: adding a subseq-unsafe that doesn't check slice bounds.
2015-07-17 12:14:33 -07:00
John Benediktsson
94cddbe927
sequences: integer slots in slice, don't store reason in slice-error.
2015-07-16 15:35:03 -07:00
John Benediktsson
d07564532d
sequences: make concat-as inline and don't special-case empty.
2015-06-06 09:28:00 -07:00
John Benediktsson
2c3492a916
minor cleanup to some docs.
2015-05-13 16:09:14 -07:00
John Benediktsson
6071ea98f7
sequences: adding reject/reject-as/reject!.
2015-05-12 18:39:19 -07:00
John Benediktsson
b377ea313c
assocs: moving map-index back to sequences, change zip and zip-index to make alists.
2014-11-11 18:13:01 -08:00
Doug Coleman
7cfa9d9518
assocs: Make map-index-as support seq or assoc exemplars and move map-index, map-index-as to assocs because they need to use new-assoc. Make zip-index-as support assoc exemplars. Fix up docs and tests.
...
assocs.extras: Remove zip-as and move tests to assocs.
2014-11-08 18:18:00 -08:00
Doug Coleman
0a0895f90f
assocs: Add zip-index, zip-index-as and docs/tests.
...
sequences: Add map-index-as for symmetry and docs/tests.
2014-11-08 00:39:38 -08:00
John Benediktsson
f3a8546b23
core: get rid of some unnecessary wrappers.
2014-11-02 20:16:22 -08:00
John Benediktsson
0a93877d4b
sequences: make sum-lengths generic.
2014-06-02 08:40:38 -07:00
John Benediktsson
9c1dd0ad58
sequences: faster interleave.
2014-03-12 12:51:32 -07:00
John Benediktsson
47b96f6891
Revert "sequences: require integers for slice and repetition."
...
This reverts commit 5e87cdb3a9b5885c6648ffaf6e5e9a2edc5fd200.
2014-03-12 07:27:39 -07:00
John Benediktsson
550118e608
sequences: require integers for slice and repetition.
2014-02-21 08:36:31 -08:00
John Benediktsson
ab4a058b2c
sequences: implement sum on repetitions.
2014-02-09 08:05:26 -08:00
John Benediktsson
64e56f65ef
sequences: faster head? and tail?.
2014-02-06 20:49:39 -08:00
John Benediktsson
d87a1da62f
sequences: change trim-head to not call length unless it needs to.
2014-01-08 10:19:26 -08:00
John Benediktsson
1d5a598929
sequences: don't allow negative repetitions.
2013-08-05 09:56:44 -07:00
John Benediktsson
cee38e1f40
sequences: change filter-as to allocate length of seq not exemplar.
2013-05-20 16:22:23 -07:00
John Benediktsson
a5bc30ba42
sequences: change binary-reduce not to be row-polymorphic until #879 is fixed.
2013-05-06 16:17:57 -07:00
John Benediktsson
71ad332027
sequences: implement sum on iota-tuple.
2013-05-06 16:02:49 -07:00
John Benediktsson
89d4fdfb75
sequences: cleanup shared code between supremum-by and infimum-by.
2013-04-17 15:29:42 -07:00
John Benediktsson
21463894e7
sequences: faster remove-nth.
2013-04-17 09:05:19 -07:00
John Benediktsson
86ad529ed7
sequences: fix supremum-by and infimum-by to be row polymorphic.
2013-04-10 11:10:01 -07:00
John Benediktsson
5c225fa09f
sequences: moving some words to sequences.extras.
2013-04-10 10:49:29 -07:00
John Benediktsson
f13cbb3c4a
sequences: adding nths-unsafe.
2013-04-06 14:29:47 -07:00
Doug Coleman
39eb4b06ec
iota: iota vs iota-tuple. Sorry...for the tools to work!
2013-03-23 16:36:22 -07:00
John Benediktsson
bbe5f32d5f
sequences: require non-negative-integer for iotas.
2013-03-22 16:05:00 -07:00
John Benediktsson
d802db939a
sequences: use each-integer and all-integers? instead of iota.
2013-03-22 14:23:08 -07:00
Doug Coleman
9f3152c409
sequences: Keep all arguments for immutable error.
2013-03-21 02:46:39 -07:00