Commit Graph

72 Commits (b51de731c2cd89a0a90165dadc47980f51d55233)

Author SHA1 Message Date
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
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
Doug Coleman 4a14bd407d 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 4e72d80256 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
John Benediktsson 1a6be98c45 sequences: change prepend to return type of first sequence to match append. 2012-05-29 11:59:03 -07:00
John Benediktsson e38e9f2850 sequences: adding find-index-from. 2012-04-27 13:41:47 -07:00
John Benediktsson c7b6003233 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 2407ee0234 sequences: make map-reduce 5-20% faster, and 2map-reduce 3-5% faster. 2012-04-17 17:58:19 -07:00
John Benediktsson db60f6e8c9 sequences: adding a test for map-reduce. 2012-04-16 17:52:21 -07:00
John Benediktsson 4baf14972f sequences: adding ?last for symmetry. 2011-10-13 13:04:24 -07:00
John Benediktsson 3207244c60 sequences: define ?first and ?second. 2011-10-13 12:53:46 -07:00
John Benediktsson 0075b6bc28 sequences: adding find-index. 2011-10-12 19:41:54 -07:00
Slava Pestov c2aca44b4a 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
Slava Pestov f40b313be5 sequences: 'accumulate' now outputs a sequence of the same type as its input 2010-04-14 21:51:00 -07:00
Slava Pestov 7826543d2e sequences: add cartesian-each, cartesian-map, cartesian-product words to eliminate some duplication throughout the codebase 2010-02-25 20:54:57 +13:00
Slava Pestov 1a1a61549f sequences: remove a -rot usage 2010-02-10 15:44:15 +13:00
Slava Pestov df4fb4a3ee Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Doug Coleman 1d12a6707d sigma -> map-sum 2009-10-29 14:34:04 -05:00
Doug Coleman 3e9593d3c0 add a unit test for accumulate! 2009-10-28 16:12:43 -05:00
Doug Coleman bd13e018dd memq? -> member-eq?, sorted-memq? -> sorted-member-eq? 2009-10-28 15:02:00 -05:00
Slava Pestov 299b5b0f6c filter-here -> filter! 2009-10-28 00:44:05 -05:00
Slava Pestov 951e3e9c83 delete-nth -> remove-nth! 2009-10-27 23:41:57 -05:00
Slava Pestov f5a0a8b6e1 delete -> remove! 2009-10-27 23:25:35 -05:00
Slava Pestov 08e7d25dc5 change-each -> map!, deep-change-each -> deep-map! 2009-10-27 22:32:56 -05:00
Doug Coleman a6c7e9d9d4 use iota in a couple of places 2009-08-22 20:56:16 -04:00
Slava Pestov 3b244d5d41 compiler.cfg.value-numbering: fix ##compare and ##compare-branch rewrites 2009-07-13 12:33:58 -05:00
Slava Pestov 92b436d7fb interleave: allow the 'between' quot to access the stack 2009-06-15 16:07:39 -05:00
Slava Pestov 30a44225cd Fix code for floats syntax change 2009-04-14 15:04:58 -05:00
Slava Pestov a6b57c495f Fix check-slice 2009-03-12 20:37:26 -05:00
Slava Pestov 7b9491066c Fix conflict in images vocab 2009-03-04 21:43:56 -06:00
Slava Pestov abdf153374 Add utf8-index> and >utf8-index words for dealing with broken C APIs 2009-03-04 20:43:04 -06:00
Daniel Ehrenberg 5dc614c9c9 Adding map-find to core 2009-03-03 12:22:47 -06:00
Slava Pestov 0a0431e6ab Fix conflict 2009-01-30 02:24:34 -06:00
Doug Coleman 3c408342ef renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail 2009-01-29 22:19:07 -06:00
Slava Pestov 478ef76801 Documents no longer mutatte their model's value 2009-01-29 03:04:23 -06:00
Slava Pestov 94292d1791 Move monotonic? unit tests to grouping 2009-01-15 15:37:30 -06:00
Doug Coleman f4cffe8a1b move iota to sequences, fix example, add unit tests, make iota's slot integers only 2009-01-10 13:05:25 -06:00
Slava Pestov 7b110b0bfd Move 3each, 3map from compiler.utilities to sequences 2009-01-05 17:32:08 -06:00
Slava Pestov d1744fd67a Remove cache-nth word, nobody was using it and the semantics were broken 2008-12-07 08:51:22 -06:00
Doug Coleman fd270d8ef2 add surround and glue to sequences 2008-12-03 08:32:54 -06:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov 20cc730501 Fix sequences tests 2008-09-12 18:57:34 -05:00
Slava Pestov 996dd6442e Add indices word 2008-09-12 16:03:47 -05:00
Slava Pestov bcc8483b5b Move match to basis since compiler.tree.debugger uses it, fix conflict 2008-09-05 19:48:44 -05:00
Slava Pestov 6792ff748e Move partition combinator into core 2008-09-05 19:32:19 -05:00
Slava Pestov aea0fed14c Fixing basis -> extra dependencies 2008-09-05 19:29:14 -05:00
Doug Coleman 6feefffc7a trim-slice, rename trim-right, more docs 2008-09-05 17:40:57 -05:00
Slava Pestov 110a5e5162 Change equality semantics 2008-09-02 02:02:05 -05:00
Slava Pestov 879e43a52b Add unit tests 2008-08-13 18:58:41 -05:00
Slava Pestov ef2fddb1ec Fix conflict 2008-07-03 16:46:21 -05:00