Commit Graph

383 Commits (13a84d1ff19d3f330f40d30b5649dda4f5ee5b98)

Author SHA1 Message Date
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 a96efb16c2 sequences: cleanup docs for tail. 2014-01-08 10:55:25 -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 086bba3403 sequences: add some tests for repetition. 2013-08-05 09:56:44 -07: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 179f063eb9 sequences: fix test case. 2013-05-07 06:18:13 -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
John Benediktsson d18317f257 sequences: inline last-unsafe. 2013-03-14 18:41:44 -07:00
Doug Coleman 247f57b828 sequences: More efficient longest and shortest by moving infimum-by/supremum-by into core. 2013-03-11 18:35:53 -07:00
Doug Coleman 875e45a640 sequences: Add some short useful factors. Clean up the use of longest. 2013-03-11 17:47:52 -07:00
John Benediktsson 7e2ff8864f sequences: add a copy-unsafe that can be used sometimes. 2013-03-06 14:06:33 -08:00
Doug Coleman 9af2924924 sequences: Rename slice-error the word to check-slice-error, make slice-error the TUPLE: an ERROR: 2013-03-05 06:57:40 -08:00
John Benediktsson 1524d43c9c sequences: define a single "?set-nth" that is used. 2013-02-20 10:42:21 -08:00
Doug Coleman 10e74c6066 sequences: Add join-as, which takes an exemplar. Move split-subseq and replace from unicode.case to splitting and fix an infinite loop with split-subseq. Add docs/tests. 2013-01-03 16:44:25 -08:00
John Benediktsson 09751634af Revert "sequences: change map-integers to require fixnum length."
This reverts commit 0f71db0c97.
2012-10-22 11:13:56 -07:00
John Benediktsson a67ab35ec5 sequences: change map-integers to require fixnum length. 2012-10-22 10:32:27 -07:00
Doug Coleman 3582a6c624 kernel: Add 4dup, 4drop, and 4cleave. 2012-10-22 09:47:34 -07:00
John Benediktsson 608bedd208 sequences: change stack effect docs for map-reduce to be more consistent. 2012-09-27 11:14:21 -07:00
John Benediktsson 225e87339b update some docs that should use $quotation. 2012-09-27 11:09:17 -07:00
John Benediktsson c1850f416a sequences: fix docs to use "dst" as a convention. 2012-09-19 16:45:28 -07:00
John Benediktsson 3decf30626 sequences: adding second-, third-, and fourth- unsafe words. 2012-09-19 10:33:51 -07:00
John Benediktsson 62604aeb4b sequences: bit faster binary-reduce. 2012-09-10 16:53:10 -07:00
John Benediktsson 1a86af31f1 sequences: minor formatting improvements. 2012-09-05 16:21:47 -07:00
John Benediktsson 6f66173784 sequences: faster "flip", looks at each element only once. 2012-09-05 16:02:20 -07:00
John Benediktsson e36c76cadf sequences: make nth3-unsafe simpler. 2012-09-05 10:52:44 -07:00
John Benediktsson 00a9fcbc85 sequences: faster binary-reduce. 2012-09-05 09:32:54 -07:00
John Benediktsson 5e0a3c5761 sequences: better "halves". 2012-09-04 19:57:45 -07:00
John Benediktsson b135b956a7 sequences: less bounds checking in binary-reduce. 2012-09-04 19:57:45 -07:00
John Benediktsson 629a5b7bf3 sequences: some minor performance improvements. 2012-08-30 11:33:57 -07:00
John Benediktsson 9e93cd0e13 sequences.extras: moved 2each-index to extras for now. 2012-08-09 16:36:35 -07:00
John Benediktsson 2e0b0e0262 sequences: adding 2each-index. 2012-08-08 20:08:08 -07:00
Doug Coleman 81f50d81eb 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 5b1b6b6bbb sequences: improve change-nth, if nth was successful, set-nth can be unsafe. 2012-07-30 11:26:32 -07:00
John Benediktsson e00aaf4185 sequences: slightly faster sequence=. 2012-07-27 21:30:03 -07:00
John Benediktsson 9920f1d2aa sequences: minor docs fixes. 2012-07-27 21:04:37 -07:00
John Benediktsson a7fff4f192 sequences: slightly faster ?last. 2012-07-27 09:12:29 -07:00
Doug Coleman 2996ef41ff 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