Commit Graph

71 Commits (ba10e893b0f1348ad06a51a3a5bd48358f3b18e0)

Author SHA1 Message Date
John Benediktsson e654e4afd9 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
John Benediktsson a7f1aee213 sequences.deep: adding deep-filter-as and flatten-as. 2012-07-11 14:18:11 -07:00
Doug Coleman 47a977277a 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 1a72249983 math: using if-zero in more places. 2012-06-18 14:32:39 -07:00
Joe Groff d8d8397fe1 sequences.parser: fix load error 2011-11-10 12:33:10 -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
John Benediktsson a13676f3b6 Remove stack effects from HELP: declarations. 2011-10-20 19:36:11 -07:00
John Benediktsson 2199b486da sequences.deep: find drop >boolean is any? 2011-10-16 13:15:05 -07:00
Doug Coleman 1152bab4d7 Cleanups found with lint tool 2011-10-14 10:15:13 -07:00
John Benediktsson 59fe95c9e9 sequences: define ?first and ?second. 2011-10-13 12:53:46 -07:00
John Benediktsson 49d5bffcd6 sequences.product: fix help-lint for stack effect changes. 2011-09-24 21:07:11 -07:00
John Benediktsson c170282fcd sequences.product: improve stack effects. 2011-09-23 17:46:55 -07:00
John Benediktsson ac8b589f9a Adding stack effects. 2011-09-23 17:46:40 -07:00
Joe Groff 571ef865e6 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 6538b50af0 sequences.deep: fix typo in description of deep-find word 2011-01-17 22:35:39 +09:00
Jon Harper 652d98f994 cleanup 2010-10-22 18:22:29 -07:00
Joe Groff f2e9703143 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 45e635fa4e math.vectors.simd.intrinsics: use unrolled loops for some software fallbacks 2010-05-24 18:39:06 -07:00
Joe Groff e7a9a9f222 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 e36b5a774c 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 7a41f5da2e Fix using list in sequences.unrolled, keys/values was not appropriate in several locations 2010-05-21 15:28:05 -05:00
Joe Groff f29945b01c sequences.unrolled vocab with fixed-length unrolling versions of some each and map combinators 2010-05-19 16:22:22 -07:00
Slava Pestov f70d89b145 Fixing fallout from sequences.generalizations change 2010-05-18 22:59:07 -04:00
Slava Pestov c0f39aa99d Move remaining sequence operations from generalizations to sequences.generalizations where they belong 2010-05-18 18:36:47 -04:00
Joe Groff f4e10849dd sequences.cords: specialize vshuffle-elements to use vshuffle2-elements on cord components 2010-05-14 13:29:37 -07:00
Slava Pestov d2d466de29 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 c0306d481a Merge branch 'master' of git://factorcode.org/git/factor into row-polymorphism 2010-03-12 14:36:13 -08:00
Slava Pestov 06eda38915 sequences.cords: remove blank lines 2010-03-12 16:45:09 +13:00
Joe Groff 1ca57e5465 fix up sequences help-lint 2010-03-09 20:29:44 -08:00
Joe Groff d4a0a69eb1 generalize stack effects so we can bootstrap with the stricter stack effect checking 2010-03-08 23:38:10 -08:00
Joe Groff 1ea6266724 clean up now-inappropriate uses of "..." in generalizations stack effects 2010-03-05 13:58:00 -08:00
Slava Pestov 74891bc02a Update documentation for new help lint check 2010-02-19 12:31:52 +13:00
Slava Pestov 7a995794e2 Make specialized arrays and SIMD types final so that typed can unbox them 2010-02-18 02:39:40 +13:00
Doug Coleman 8ae200d419 Rename accumulator to collector, pusher to selector 2010-01-22 15:00:53 -06:00
Doug Coleman 45091e52ad add circular-while, optimize circular a bit 2009-12-06 17:20:46 -06:00
Doug Coleman 69817c0c38 Merge branch 'master' of git://factorcode.org/git/factor 2009-12-02 20:11:08 -06:00
Doug Coleman e161ea06ce add product-map>assoc and docs 2009-11-27 22:58:17 -06:00
Joe Groff ebcaaa0d64 Merge branch 'master' into simd-cleanup 2009-11-26 16:14:46 -08:00
Joe Groff da394d42c3 "norm" doesn't need to be generic, "norm-sq sqrt" always works 2009-11-26 11:15:35 -08:00
Doug Coleman 5e73ea216a add product-map-as and use it in poker vocab 2009-11-25 23:18:18 -06:00
Joe Groff a94ea43fbd vector op specializations on cords 2009-11-25 15:44:57 -08:00
Joe Groff 9fe299e16f streamline cords, add a functor for making specialized cords 2009-11-24 23:18:01 -08:00
Joe Groff 148a7a90a1 move cords to sequences.cords 2009-11-24 22:56:42 -08:00
Slava Pestov 08b6ebc7fa Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Philipp Brüschweiler 4d185704d6 sequences: rename virtual-seq to virtual-exemplar 2009-11-07 00:06:26 +01:00
Philipp Brüschweiler 0c7de25b3e sequences.merged: fix for input sequences of different lengths 2009-11-06 23:05:55 +01:00
Doug Coleman bfe17d6acd fix a couple errors 2009-11-06 11:32:29 -06:00
Doug Coleman 8bb56d35d0 move sequence-parser to sequences.parser 2009-11-05 17:12:10 -06:00
Slava Pestov efccd6faee Move a few libraries from extra to basis since basis stuff depends on them 2009-11-01 22:17:00 -06:00
Slava Pestov 34d3d4962a change-each -> map!, deep-change-each -> deep-map! 2009-10-27 22:32:56 -05:00