Commit Graph

80 Commits (325d1bac2a0403e26206a4c98a41188b05b6e865)

Author SHA1 Message Date
John Benediktsson 8321aa1e6a sequences.windowed: fixup stack effect for rolling-map. 2013-10-12 11:46:05 -07:00
John Benediktsson a82e916bcf sequences.windowed: faster rolling-map. 2013-10-12 11:43:46 -07:00
John Benediktsson de62db7775 sequences.product: use some unsafe to make it faster. 2013-10-12 11:35:17 -07:00
John Benediktsson b78e32733e sequences.windowed: faster windows and rolling words. 2013-05-01 22:18:26 -07:00
John Benediktsson 8e54a4ff15 sequences.generalizations: add "nfind" and "nany?". 2012-10-04 14:48:46 -07:00
John Benediktsson e23cb40dae sequences.generalizations: fix stack effect docs for "nall?". 2012-09-27 11:46:24 -07:00
John Benediktsson 3abc7a9500 sequences.generalizations: adding "nall?". 2012-09-27 11:42:09 -07:00
John Benediktsson 225e87339b update some docs that should use $quotation. 2012-09-27 11:09:17 -07:00
John Benediktsson 4dd3511a40 sequences.generalizations: adding nmap-reduce. 2012-09-26 20:49:42 -07:00
John Benediktsson 4e72d80256 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
John Benediktsson c22fcb8e2b sequences.deep: adding deep-filter-as and flatten-as. 2012-07-11 14:18:11 -07:00
Doug Coleman 80eae10aa0 sequences.windowed: Add vocabulary for doing windowed sequences that look
n steps back. Different from clumps in that maping over them gives you a
sequence that's as long as the underlying sequence.
2012-06-20 21:42:16 -07:00
John Benediktsson d1f3b326e5 math: using if-zero in more places. 2012-06-18 14:32:39 -07:00
Joe Groff 433b8e6b6b sequences.parser: fix load error 2011-11-10 12:33:10 -08:00
Joe Groff 47cedd8d3d slice boa -> <slice-unsafe>
If you didn't define it, don't boa it
2011-11-09 19:22:09 -08:00
John Benediktsson 5a943b32c4 Remove stack effects from HELP: declarations. 2011-10-20 19:36:11 -07:00
John Benediktsson fb9612ef73 sequences.deep: find drop >boolean is any? 2011-10-16 13:15:05 -07:00
Doug Coleman 933319f401 Cleanups found with lint tool 2011-10-14 10:15:13 -07:00
John Benediktsson 3207244c60 sequences: define ?first and ?second. 2011-10-13 12:53:46 -07:00
John Benediktsson 808eb6726c sequences.product: fix help-lint for stack effect changes. 2011-09-24 21:07:11 -07:00
John Benediktsson 94815d0f3c sequences.product: improve stack effects. 2011-09-23 17:46:55 -07:00
John Benediktsson 3c1356bf69 Adding stack effects. 2011-09-23 17:46:40 -07:00
Joe Groff 2bd6de9a02 slots: pre-create the "at", "nth", and "global" slots to make deterministic the currently nondeterministic ambiguity between accessors:change-* and assocs:change-at, sequences:change-nth, and namespaces:change-global 2011-09-19 10:03:43 -07:00
Keita Haga 631ba5119a sequences.deep: fix typo in description of deep-find word 2011-01-17 22:35:39 +09:00
Jon Harper ff1d7914e8 cleanup 2010-10-22 18:22:29 -07:00
Joe Groff 173880168a sequences.cords: fall back to generic sequence methods when both arguments to binary cord ops aren't cords 2010-06-13 20:41:46 -07:00
Joe Groff 1041ad5f9b math.vectors.simd.intrinsics: use unrolled loops for some software fallbacks 2010-05-24 18:39:06 -07:00
Joe Groff 9391f10164 sequences.unrolled: tweak helper words so that call( -- ) guards inline in more cases (w/ help from Slava) 2010-05-24 16:50:46 -07:00
Joe Groff 44ed11a084 sequences.unrolled: reimplement underlying (unrolled-each-integer) loop as a partial eval, sacrificing row polymorphism for flexibility 2010-05-24 00:33:41 -07:00
Doug Coleman 01e14d1430 Fix using list in sequences.unrolled, keys/values was not appropriate in several locations 2010-05-21 15:28:05 -05:00
Joe Groff ed6b1dab02 sequences.unrolled vocab with fixed-length unrolling versions of some each and map combinators 2010-05-19 16:22:22 -07:00
Slava Pestov e30a429985 Fixing fallout from sequences.generalizations change 2010-05-18 22:59:07 -04:00
Slava Pestov ea726f5680 Move remaining sequence operations from generalizations to sequences.generalizations where they belong 2010-05-18 18:36:47 -04:00
Joe Groff 22625469bc sequences.cords: specialize vshuffle-elements to use vshuffle2-elements on cord components 2010-05-14 13:29:37 -07:00
Slava Pestov 627295f094 Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
Joe Groff 8687a7e283 Merge branch 'master' of git://factorcode.org/git/factor into row-polymorphism 2010-03-12 14:36:13 -08:00
Slava Pestov e8f857f3f6 sequences.cords: remove blank lines 2010-03-12 16:45:09 +13:00
Joe Groff b9004a4fff fix up sequences help-lint 2010-03-09 20:29:44 -08:00
Joe Groff 191ac353fd generalize stack effects so we can bootstrap with the stricter stack effect checking 2010-03-08 23:38:10 -08:00
Joe Groff ff2a53e1b8 clean up now-inappropriate uses of "..." in generalizations stack effects 2010-03-05 13:58:00 -08:00
Slava Pestov 220dd88a2c Update documentation for new help lint check 2010-02-19 12:31:52 +13:00
Slava Pestov ff172f4132 Make specialized arrays and SIMD types final so that typed can unbox them 2010-02-18 02:39:40 +13:00
Doug Coleman 8c1d202b4c Rename accumulator to collector, pusher to selector 2010-01-22 15:00:53 -06:00
Doug Coleman a94774f8e8 add circular-while, optimize circular a bit 2009-12-06 17:20:46 -06:00
Doug Coleman 0a48b946b6 Merge branch 'master' of git://factorcode.org/git/factor 2009-12-02 20:11:08 -06:00
Doug Coleman 3e756f5c08 add product-map>assoc and docs 2009-11-27 22:58:17 -06:00
Joe Groff 67cc1c01be Merge branch 'master' into simd-cleanup 2009-11-26 16:14:46 -08:00
Joe Groff 0795c60b83 "norm" doesn't need to be generic, "norm-sq sqrt" always works 2009-11-26 11:15:35 -08:00
Doug Coleman cdc1f1e041 add product-map-as and use it in poker vocab 2009-11-25 23:18:18 -06:00
Joe Groff 5f32a6d726 vector op specializations on cords 2009-11-25 15:44:57 -08:00