Commit Graph

125 Commits (2a8af325347d5e90ce874f706f5746cd0ddaac9b)

Author SHA1 Message Date
Doug Coleman 659fd97fcf combinators: Forgot an iota method. 2013-03-23 16:37:36 -07:00
John Benediktsson 19ffc5ffdf combinators: moving M\ iota hashcode* back since each-integer has hints. 2013-03-04 17:46:46 -08:00
John Benediktsson 171e14f01e layouts: speed up ``M\ iota hashcode*`` using most-positive-fixnum. 2013-03-03 17:33:35 -08:00
John Benediktsson 7412e1b386 combinators: faster hashcode for iota. 2013-03-01 10:42:20 -08:00
Doug Coleman 99782d4f53 kernel: Add 4dup, 4drop, and 4cleave. 2012-10-22 09:47:34 -07:00
John Benediktsson e4fb87d0f1 combinators: M\ array hashcode* makes memoize faster. 2012-08-23 17:28:27 -07:00
John Benediktsson e556ff9fc7 using reverse! when possible. 2012-04-25 20:09:36 -07:00
Doug Coleman c3dcf43e03 core/basis: trim down using lists 2011-11-30 23:15:42 -08:00
John Benediktsson 15fee03989 combinators: fix docs for case. 2011-11-10 11:20:28 -08:00
Joe Groff 8aebe4677b constants for special object hardcoded literals 2011-11-02 12:54:50 -07:00
Doug Coleman b5b27676c4 Update Windows for word renames, fix lint errors 2011-10-24 21:50:02 -07:00
John Benediktsson a13676f3b6 Remove stack effects from HELP: declarations. 2011-10-20 19:36:11 -07:00
John Benediktsson f2741b34a4 Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed. 2011-10-18 13:19:39 -07:00
Doug Coleman e1678b928a Rename spread>quot to deep-spread>quot, and spread>quot-shallow to shallow-spread>quot. 2011-10-02 20:25:39 -07:00
Doug Coleman bce0dd9272 Spread now infers with the correct stack effect. Make spread>quot-shallow which trims empty quotations off the head of the spread sequence. Fixes #139. 2011-10-02 18:35:01 -07:00
Doug Coleman b82a70263c Revert "spread>quot now outputs empty quotations where you would expect so that things like { [ ] [ ] } spread infer as ( x x -- x x ) instead of ( -- )"
This causes problems in bootstrap and in make-images. Revisit sometime in the future...
This reverts commit 004b20df12.
2011-09-18 23:41:49 -05:00
Doug Coleman 004b20df12 spread>quot now outputs empty quotations where you would expect so that things like { [ ] [ ] } spread infer as ( x x -- x x ) instead of ( -- )
Fixes #139
2011-09-18 23:23:53 -05:00
John Benediktsson ab05560aa9 Merge branch 'cleanup' 2011-08-26 18:49:25 -07:00
John Benediktsson 248b0df6fc Spelling fixes to documentation. 2011-08-26 16:20:31 -07:00
John Benediktsson 0b926bd241 combinators: fix typo in docs for case. 2011-08-10 16:25:21 -07:00
Slava Pestov acac6b0a1d combinators: fix help lint 2011-02-25 21:06:10 -08:00
Keita Haga cdab0bdbec combinators: insert a space after a comma in the documentation 2011-02-04 21:04:08 +09:00
Keita Haga 7e63158f3b combinators: minor improvement to usage example of cond word 2011-02-04 17:53:00 +09:00
Keita Haga 38892d050a combinators: minor improvement in usage example of case word 2011-01-17 00:42:07 +09:00
Keita Haga b043e48e9e remove useless whitespace in several documentation 2011-01-05 15:55:34 +09:00
Keita Haga 880b03ef1a combinators: fix typo to 'booleans' article and 'case' description in docs 2011-01-04 19:18:56 +09:00
Slava Pestov 05f3dc7e76 combinators: make the behavior of 'case' consistent between the optimized and unoptimized forms 2010-07-30 14:21:30 -04:00
Slava Pestov 69aa6153eb combinators: tweak docs 2010-06-03 21:34:55 -04:00
Slava Pestov cebbcee9f9 combinators: fix load error 2010-04-06 16:48:30 -04:00
Slava Pestov 67cc74c75e combinators: call( now throws an error if a quotation that was declared as never returning actually returns 2010-04-06 16:42:30 -04:00
Daniel Ehrenberg 1b61e2e5cf Merge branch 'bags' of git://github.com/littledan/Factor
Conflicts:

	basis/compiler/cfg/ssa/construction/tdmsc/tdmsc.factor
	basis/furnace/auth/auth.factor
	basis/stack-checker/backend/backend.factor
2010-03-16 13:28:00 -04:00
Joe Groff dd825806da more help-lint 2010-03-09 21:02:43 -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
Daniel Ehrenberg 0f0571e48a Moving new-sets to sets 2010-02-26 16:01:01 -05:00
Slava Pestov d5a7393606 core: minor cleanups 2010-02-18 01:57:22 +13:00
Slava Pestov 5eed2e5ce5 combinators: better wrong-values error 2010-02-18 01:19:26 +13:00
Slava Pestov 974074d089 A few documentation fixes 2010-02-17 00:05:36 +13:00
Slava Pestov cf37a74316 combinators: fix typo 2010-02-03 23:11:28 +13:00
Slava Pestov a3bed25a55 combinators: ricing call-effect 2010-02-03 23:11:26 +13:00
Slava Pestov c3f66d49a3 Better error message for call( when quotation has the wrong effect 2010-02-03 23:11:25 +13:00
Slava Pestov edd9de217e Minor doc fixes 2010-02-03 22:56:32 +13:00
Brad Christensen c37b4f5f61 A number of documentation fixes and cleanup. 2010-02-03 00:05:03 -07:00
Slava Pestov 790674cf89 Rename kernel.private:getenv/setenv to special-object/set-special-object to mirror recent renaming on the VM side 2010-01-13 18:08:18 +13:00
Slava Pestov 08b6ebc7fa Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov 8be89ccccc combinators: fix typo in docs 2009-11-19 02:08:14 -06:00
Joe Groff 947de7b0cd clean up cleave/spread/apply combinator articles 2009-10-31 15:41:34 -05:00
Joe Groff 2543343901 don't talk about the retain stack anymore in combinators docs 2009-10-24 20:58:35 -05:00
Doug Coleman aabaccff5e fix a bunch of typos in docs 2009-10-21 17:40:43 -05:00
Keith Lazuka 8f79ea91ba docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Slava Pestov eb5d30e724 Fix conflict 2009-09-23 20:52:04 -05:00