Commit Graph

98 Commits (2cb680539d308afd4490c0bf0075afc5214ff6c6)

Author SHA1 Message Date
Joe Groff b4867f4a1c assocs: add effect declarations to assoc combinators 2010-04-14 15:08:32 -07: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
Philipp Brüschweiler eb8344a5a5 assocs: doc fixes 2010-02-19 11:26:01 +01:00
Slava Pestov a495f8e099 assocs: move conjoin and conjoin-at to assoc docs 2010-02-16 15:29:46 +13:00
Joe Groff 98c9b79881 assocs: use collector-for in assoc>map to create a temporary vector appropriate for the exemplar 2010-02-06 23:59:34 -08:00
Slava Pestov 10fe9a811b Fix classes.tuple tests and assocs help lint 2010-02-04 08:04:47 +13:00
Slava Pestov 11be5a4bd5 Rename update to assoc-union!, add assoc-filter! assoc-diff! words 2010-02-04 02:55:00 +13:00
Brad Christensen 9b9322ea1e A number of documentation fixes and cleanup. 2010-02-03 00:05:03 -07:00
Doug Coleman 8c1d202b4c Rename accumulator to collector, pusher to selector 2010-01-22 15:00:53 -06:00
Slava Pestov df4fb4a3ee Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Joe Groff 9624b0c5c3 add inlinable assoc methods on f 2009-10-30 15:22:14 -05:00
Slava Pestov 299b5b0f6c filter-here -> filter! 2009-10-28 00:44:05 -05:00
Slava Pestov b7e05a525b remove unused and really confusing remove-all word 2009-10-27 23:45:03 -05:00
Slava Pestov 951e3e9c83 delete-nth -> remove-nth! 2009-10-27 23:41:57 -05:00
Slava Pestov 08e7d25dc5 change-each -> map!, deep-change-each -> deep-map! 2009-10-27 22:32:56 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Slava Pestov 4abfe06b51 Fixing various test failures caused by C type parser change, and clarify C type docs some more 2009-09-28 08:48:39 -05:00
Slava Pestov 7f2e2b1777 Specialized array overhaul
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Slava Pestov 030b1b816c Add inline declarations for various assorted methods 2009-08-17 22:32:21 -05:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Slava Pestov 42230b21a3 Add assoc-refine, which takes the intersection of a sequence of assocs 2009-07-22 02:06:14 -05:00
Slava Pestov 9e987e8642 Merge branch 'master' into global_optimization 2009-06-01 03:12:32 -05:00
Slava Pestov eda44f28a6 Move maybe-set-at to assocs 2009-05-26 18:45:37 -05:00
Doug Coleman e38e85ce5e document 2cache 2009-05-25 11:03:40 -05:00
Doug Coleman 5a3a14d1c9 remove at-default. it was hardly used and it's just '?at drop' 2009-05-24 21:46:59 -05:00
Slava Pestov 66a9416473 Update documentation for stricter vocabulary search path semantics 2009-05-16 00:29:21 -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 c074c2c93b Fix >alist docs 2009-04-23 19:07:27 -05:00
Slava Pestov 07cb959df4 Clean up ?at 2009-03-09 17:47:50 -05:00
Daniel Ehrenberg e1806663d2 Merge branch 'master' into regexp 2009-03-05 16:44:35 -06:00
Daniel Ehrenberg e54727f9bf Merge branch 'master' of git://factorcode.org/git/factor into regexp 2009-02-23 13:10:54 -06:00
Slava Pestov 91d0c4ed1f Fix conflict 2009-02-22 20:02:13 -06:00
Doug Coleman ff44ef224d add ?at, tests, documentation 2009-02-22 17:13:18 -06:00
Daniel Ehrenberg 478c1d2928 Assocs stack effect fix 2009-02-19 16:50:55 -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
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 a9ef525aed Help lint fixes for stricter help lint 2009-01-27 04:12:37 -06:00
Slava Pestov 2ed993ef58 Clean up assocs to not use swapd 2009-01-27 04:12:16 -06:00
Slava Pestov ecbb36ad80 Fix assocs help-lint 2009-01-27 01:37:04 -06:00
Slava Pestov c41161277d Add assoc-partition combinator, and re-implement assoc-filter in a more straightforward fashion 2009-01-26 23:19:49 -06:00
Slava Pestov f34c14a0f5 Remove some usages of tuck 2009-01-23 18:20:47 -06:00
Slava Pestov 4b4d93dddd Move at-default from unicode.case to assocs, move 2cache from classes.algebra to assocs, clean up some code to no longer use -rot, rot, pick 2009-01-20 15:27:14 -06:00
Doug Coleman 66f5694462 document more core/ words 2009-01-17 22:15:57 -06:00
Slava Pestov de3a4f5462 Change some dup ... swap to bi and keep 2008-12-15 21:20:32 -06:00
Slava Pestov daf2857d7b define-inline now takes an effect parameter
C: now sets the stack effect of the new word to slot names
add new basis/constants vocab; CONSTANT: foo bar is equivalent to : foo bar ; inline
(going to fold CONSTANT:, ALIAS: and qualified into core soon perhaps)
tighten the screws: inline words now need a stack declaration too
update some usages of inline words
2008-12-15 19:44:56 -06:00
Slava Pestov a90118da5d Add inc-at word to core, and update some usages of at+ to use it instead 2008-12-09 16:54:48 -06:00
John Benediktsson 6745e0dad9 Fix error in the docs for assoc-map. 2008-12-09 12:35:59 -08:00
Slava Pestov 0290be6e93 Exploit the fast-path for allocation of array with initial element 0 by changing
new-sequence on arrays, the vector constructor, and resize-array, called when
growing vectors, to fill arrays with 0 instead of f. user code never observes the
initial value in these situations anyway. small speedup on bootstrap
2008-12-06 18:37:28 -06:00
Slava Pestov 0ba5304ee3 Fix assocs, generic.standard tests 2008-12-03 03:44:08 -06:00