Commit Graph

161 Commits (d2c1f7c9c1a2d38fea7eb02e823e90802063543f)

Author SHA1 Message Date
Slava Pestov 56a4b323ef sequences: add accumulate-as and document insert-nth 2009-10-01 23:13:33 -05:00
Slava Pestov 924ccca457 sequences: privacy please 2009-09-08 16:25:41 -05:00
Doug Coleman b9eb3a791f deprecating nth for integers is annoying 2009-09-08 14:18:26 -05:00
Joe Groff d26735c98f mark integer sequence methods as deprecated 2009-08-29 10:29:41 -05:00
Doug Coleman bea1e3732e revert replicate change again...the world is not ready 2009-08-23 01:00:46 -04:00
Doug Coleman 3dce2eda19 use iota in replicate 2009-08-22 21:00:18 -04:00
Doug Coleman 7b7f22fae2 Revert "use iota in replicate"
This reverts commit 88d1f0d78a.
2009-08-22 20:59:56 -04:00
Doug Coleman 87a6e9cb31 use iota in replicate 2009-08-22 20:59:36 -04:00
Doug Coleman a6c7e9d9d4 use iota in a couple of places 2009-08-22 20:56:16 -04:00
Slava Pestov 030b1b816c Add inline declarations for various assorted methods 2009-08-17 22:32:21 -05:00
Doug Coleman 7c92ab1ea5 move if-zero etc to math, remove 1-/1+ from math 2009-08-14 14:27:23 -05:00
Doug Coleman 686b3e348e use ERROR: in several places instead of throwing strings 2009-08-11 23:09:02 -05:00
Doug Coleman 02becc26fc add docs for if-zero etc, add docs for 10^ 2009-08-11 18:45:01 -05:00
Doug Coleman 14ef1649d4 add if-zero/when-zero/unless-zero to core/ and update usages 2009-08-11 17:59:40 -05:00
Slava Pestov 07ea78df57 sequences: map, 2map, 3map use new map-integers combinator; last two no longer depend on integers-as-sequences 2009-08-03 13:30:55 -05:00
Doug Coleman eb61ffc56d use itoa in more places 2009-08-02 18:18:31 -05:00
Slava Pestov 4359a10259 sequences: add declaration so that array-flip compiles better 2009-07-28 21:33:12 -05:00
Slava Pestov f1683f9fcf Move set-last from circular.private to sequences 2009-07-28 11:51:47 -05:00
Slava Pestov ef6634337d Oops: interleave-step is bi* 2009-06-16 14:05:39 -05:00
Slava Pestov 92b436d7fb interleave: allow the 'between' quot to access the stack 2009-06-15 16:07:39 -05:00
Slava Pestov 75276855ae sequences: change implementation of interleave 2009-06-14 18:22:31 -05:00
Slava Pestov dd61b59937 sequences: update each-index and map-index to not depend on integers-as-sequences 2009-06-14 18:10:24 -05:00
Doug Coleman 407377fc98 rename peek -> last and update all usages 2009-05-25 16:38:33 -05:00
Doug Coleman 4eab045deb add nth-unsafe to sequences.private, making md5 faster 2009-05-18 00:24:24 -05:00
Slava Pestov b31fe9b8f2 Implement stricter vocab search path semantics, with a new API for vocabs.parser. Add map-find-last to sequences vocab 2009-05-14 22:31:29 -05:00
Slava Pestov 9488e78532 clean up contents and lines words; contents never outputs f now 2009-05-10 16:39:51 -05:00
Doug Coleman 0ad6d1fb7b add a few usages of iota, remove most 1+ and 1- from core 2009-05-01 19:58:24 -05:00
Slava Pestov 73a2e81953 Print unit test failures better 2009-04-13 14:40:55 -05:00
Slava Pestov bc6dfeea17 Move assert-sequence= from mime.multipart to sequences 2009-04-09 04:49:54 -05:00
Slava Pestov d707292d84 Fix documentation for map-index 2009-04-04 20:22:49 -05:00
Slava Pestov c0154c1391 Change (:) to parse effect immediately, and remove ( parsing word 2009-03-21 03:17:35 -05:00
Slava Pestov a6b57c495f Fix check-slice 2009-03-12 20:37:26 -05:00
Daniel Ehrenberg 5027d02b12 Stack shuffling cleanup in sequences 2009-03-11 00:10:27 -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 25a877e50b Merge OneEyed's patch 2009-02-28 17:06:55 -06:00
Slava Pestov cd53c2bd37 produce and produce-as: don't need third quotation either 2009-02-28 15:31:34 -06:00
Samuel Tardieu 087d931c36 Remove the tail argument from do/until/while 2009-02-18 02:41:14 +01:00
Slava Pestov 1bbabcd5e1 Remove some usages of slip combinators from the core 2009-02-05 03:29:59 -06:00
Slava Pestov dfa0931db1 Merge branch 'master' into new_ui 2009-02-04 05:26:32 -06:00
Slava Pestov f8d80faed3 Add 1sequence word. Add unit tests for existing 1vector and 1byte-array words, and make them use 1sequence 2009-02-04 05:13:12 -06:00
Slava Pestov f5c7beb75a Clean up trim-{head,tail}{,-slice} combinators 2009-02-04 00:51:00 -06:00
Slava Pestov 669548e62e Clean up some usages of tuck, and add Joe's curried cleave/spread/apply combinators to kernel vocabulary 2009-02-02 13:43:54 -06:00
Slava Pestov 833b805f5c infimum, supremum: use map-reduce 2009-02-02 03:33:40 -06:00
Slava Pestov 4513417657 Clean up some messy stack shuffling 2009-02-01 19:14:43 -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 f34c14a0f5 Remove some usages of tuck 2009-01-23 18:20:47 -06:00