John Benediktsson
de891028cb
sequences.extras: moved 2each-index to extras for now.
2012-08-09 16:36:35 -07:00
John Benediktsson
608198c670
sequences: adding 2each-index.
2012-08-08 20:08:08 -07:00
Doug Coleman
198931cd72
sequences: Change bounds-check? to be generic on integer so that floating points can't index into sequences. Fixes #582 .
2012-07-31 08:36:34 -07:00
John Benediktsson
cf5627b438
sequences: improve change-nth, if nth was successful, set-nth can be unsafe.
2012-07-30 11:26:32 -07:00
John Benediktsson
7e6d8e528c
sequences: slightly faster sequence=.
2012-07-27 21:30:03 -07:00
John Benediktsson
2ce4b091af
sequences: minor docs fixes.
2012-07-27 21:04:37 -07:00
John Benediktsson
30dfa700ba
sequences: slightly faster ?last.
2012-07-27 09:12:29 -07:00
Doug Coleman
a6c3ddf691
sequences: Fix tests that broke when nth could only be integers. Undo integer>fixnum in iota nth. See bug #582 .
2012-07-25 22:17:24 -07:00
Doug Coleman
92eee23e48
core: Use integer>fixnum instead of >fixnum for ``nth`` and other sequence operations. Fixes #581 .
2012-07-25 18:24:43 -07:00
John Benediktsson
e654e4afd9
Using "same?" in more places.
2012-07-21 10:22:44 -07:00
John Benediktsson
4f2b406203
sequences: fix typo in docs for shorten.
2012-07-20 09:04:51 -07:00
John Benediktsson
7c623cad28
sequences: faster last / set-last.
2012-07-18 12:31:53 -07:00
John Benediktsson
f543f8b4a1
sequences: prepend-as should be inlined.
2012-07-16 11:54:32 -07:00
John Benediktsson
355e140785
sequences: un-inline prepend to fix "cannot call" error.
2012-05-29 15:58:19 -07:00
John Benediktsson
a63bd9e2ba
sequences: change prepend to return type of first sequence to match append.
2012-05-29 11:59:03 -07:00
John Benediktsson
0d4bd75492
sequences: adding find-index-from.
2012-04-27 13:41:47 -07:00
John Benediktsson
33f741ec2e
cleanup some lint warnings.
2012-04-18 17:46:01 -07:00
John Benediktsson
5e524e82e3
sequences: fixing "Cannot apply 'call' to a run-time computed value" error in map-reduce and 2map-reduce.
2012-04-17 19:04:10 -07:00
John Benediktsson
d47d2e5a5d
sequences: make map-reduce 5-20% faster, and 2map-reduce 3-5% faster.
2012-04-17 17:58:19 -07:00
John Benediktsson
52ee9c2516
sequences: adding a test for map-reduce.
2012-04-16 17:52:21 -07:00
Doug Coleman
c3dcf43e03
core/basis: trim down using lists
2011-11-30 23:15:42 -08:00
Joe Groff
86d5e8529c
random: go faster
...
* Use int <ref> instead of 4 >le
* Inline sequences:push-all
* Types, hints, inlines
Re: #328
2011-11-15 20:45:16 -08:00
Joe Groff
65c17f7ace
slice boa -> <slice-unsafe>
...
If you didn't define it, don't boa it
2011-11-09 19:22:09 -08:00
Joe Groff
53d027928c
io: more hot-rodding for #376
...
* Change the interface of read-into to return a slice and an eof boolean separately so the compiler can optimize the slice.
* Add an each-stream-block-slice combinator that behaves like each-block but reuses a preallocated buffer for every iteration.
* Pull some strings in the stream-read-into implementation to further improve type propagation and bounds check elimination.
2011-11-09 17:22:01 -08:00
John Benediktsson
f0f0751910
sequences: improve docs for map-sum.
2011-11-09 15:00:08 -08:00
Joe Groff
83215f75d3
sequences: relate max, min, supremum, infimum docs
...
Suggested by @yac. Closes #321 .
2011-11-02 13:43:06 -07:00
John Benediktsson
1097e59026
Cleanup more lint warnings.
2011-10-16 13:01:58 -07:00
John Benediktsson
f419934d6a
Cleanup lint warnings.
2011-10-14 11:47:24 -07:00
Doug Coleman
ac89b4dffa
Link ?first ?second ?last from an article.
2011-10-13 15:53:31 -07:00
John Benediktsson
b3f5154cc7
sequences: adding ?last for symmetry.
2011-10-13 13:04:24 -07:00
John Benediktsson
59fe95c9e9
sequences: define ?first and ?second.
2011-10-13 12:53:46 -07:00
John Benediktsson
099177a8f4
sequences: adding find-index.
2011-10-12 19:41:54 -07:00
John Benediktsson
437165dbfb
Revert "sequences: change to use tuple-hashcode algorithm, make string-hashcode work like old sequence-hashcode."
...
This reverts commit 7b7b0d4542 .
2011-10-06 08:37:05 -07:00
John Benediktsson
7b7b0d4542
sequences: change to use tuple-hashcode algorithm, make string-hashcode work like old sequence-hashcode.
2011-10-05 19:22:50 -07:00
John Benediktsson
732902ac97
sequences: removing 2unclip-slice.
2011-10-02 09:26:20 -07:00
Doug Coleman
fba4a48a69
Fix sequences docs for change-nth stack effect and example needed using section
2011-09-21 10:09:03 -05:00
John Benediktsson
de467551aa
sequences: adding stack effects for change-nth, map-integers, and interleave.
2011-09-19 20:49:57 -07:00
Jon Harper
9f7e4c0e6a
sequences, fix stack effect of (accumulate)
2011-08-25 00:43:37 +02:00
Slava Pestov
843fc514e3
sequences: nths should return a sequence of the same type as the original (reported by Jon Harper)
2011-01-29 00:18:36 -05:00
Keita Haga
27aba4035e
sequences: surround a $example with a $examples to the if-empty word's help
2011-01-26 15:06:35 +09:00
Keita Haga
5009f89ab6
sequences: put a period to description of trim-head-slice word
2011-01-16 09:59:27 +09:00
Keita Haga
6133287f4f
sequences: enclose some $examples in '$examples'
2011-01-14 19:29:17 +09:00
Keita Haga
b043e48e9e
remove useless whitespace in several documentation
2011-01-05 15:55:34 +09:00
Keita Haga
bec72c6d8c
sequences: fix typos in docs
2011-01-05 14:01:11 +09:00
Keita Haga
ff5e74ebcf
io.files.info.unix, sequences: few $examples and $unchecked-examples turn into $codes
2010-12-23 04:05:06 +09:00
Keita Haga
40291dcf53
sequences, syntax, vocabs.parser: remove useless whitespace in docs
2010-12-23 03:42:41 +09:00
Slava Pestov
d865b366dd
Remove stream-peek and stream-peek1, re-implement dns vocab to not need this abstraction
2010-10-08 18:55:13 -07:00
Doug Coleman
a5c1cc33be
Add stream-peek1 and remove it from images.gif and dns. Add sequence-peek but not stream-peek (yet?)
2010-10-08 06:34:17 -07:00
John Benediktsson
7ac352ca14
sequences: fix typo in docs.
2010-09-10 13:22:48 -07:00
Slava Pestov
4f4fa18625
sequences: remove unused 2reverse-each word
2010-05-10 00:46:29 -04:00