John Benediktsson
d248f2452e
combinators: faster hashcode for byte-arrays.
2019-04-05 16:55:10 -07:00
John Benediktsson
bd9676e152
core/basis/extra: use none?.
2018-02-14 11:56:31 -08:00
Cat Stevens
08b55b6a62
core/combinators docs: fix unclearness in case help
2018-02-14 07:41:22 -08:00
Doug Coleman
e189954ecc
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ;
2017-06-02 11:57:05 -05:00
Alexander Iljin
acd22d1218
combinators-docs: fix wording
2016-07-30 09:25:30 -07:00
Doug Coleman
c133c16377
core: Trim using lists from -tests and clean up a few irregularities.
2016-03-30 18:43:41 -07:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
c21a154056
core: callstack is a builtin type and a class name. rename the *stack words that grab the current stack get-foostack to avoid the callstack builtin conflict and for better symmetry with set-foostack.
2015-08-13 10:11:59 -07:00
Doug Coleman
02008979d9
factor: Change ERROR: foo ; to define ``throw-foo`` instead of having ``foo`` throw implicitly. The old ``foo`` still throws implicitly because this is a big change to get right in one patch, but it should be removed soon.
2015-08-12 15:26:18 -05:00
John Benediktsson
6cded6437f
combinators: fix linear-case-quot to order the comparisons properly.
...
I noticed that member? optimized comparisons in the wrong order, this
was because it calls into linear-case-quot. The reason case was working
find is because it reversed before calling linear-case-quot. The fix
was to move the reverse into linear-case-quot.
2015-07-16 09:55:19 -07:00
John Benediktsson
8a3c5c2634
Fix some tests broken by optimized? rename.
2015-07-15 11:47:03 -07:00
Doug Coleman
43d6f1d3e2
factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.
2015-07-02 17:28:17 -07:00
Doug Coleman
59f3b1ea57
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
...
Needs a bit more work.
This reverts commit 7e54cc2824
.
2015-07-02 13:47:06 -07:00
Doug Coleman
7e54cc2824
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
2015-07-02 11:36:08 -07:00
John Benediktsson
a85543a42f
combinators: fix broken optimization that made floats work for integer keys.
2015-01-17 15:46:04 -08:00
Björn Lindqvist
9c901b9c0e
Docs: for compiler, vm and combinators
2014-06-08 11:48:30 -07:00
John Benediktsson
57f9d78892
improve help by linking to types directly.
2014-05-23 20:20:15 -07:00
John Benediktsson
98935b7f15
docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``.
2014-05-18 20:09:10 -07:00
John Benediktsson
6ef1b08d58
combinators: fix docs for dispatch since it isn't in kernel.private.
2013-11-22 17:32:59 -08:00
Doug Coleman
b83af8c5d2
combinators: Forgot an iota method.
2013-03-23 16:37:36 -07:00
John Benediktsson
2c33fe56a4
combinators: moving M\ iota hashcode* back since each-integer has hints.
2013-03-04 17:46:46 -08:00
John Benediktsson
668d37fef7
layouts: speed up ``M\ iota hashcode*`` using most-positive-fixnum.
2013-03-03 17:33:35 -08:00
John Benediktsson
35c313c6b4
combinators: faster hashcode for iota.
2013-03-01 10:42:20 -08:00
Doug Coleman
3582a6c624
kernel: Add 4dup, 4drop, and 4cleave.
2012-10-22 09:47:34 -07:00
John Benediktsson
daed497e3d
combinators: M\ array hashcode* makes memoize faster.
2012-08-23 17:28:27 -07:00
John Benediktsson
5e16810075
using reverse! when possible.
2012-04-25 20:09:36 -07:00
Doug Coleman
3ba787b277
core/basis: trim down using lists
2011-11-30 23:15:42 -08:00
John Benediktsson
27b96452ee
combinators: fix docs for case.
2011-11-10 11:20:28 -08:00
Joe Groff
186bf65a00
constants for special object hardcoded literals
2011-11-02 12:54:50 -07:00
Doug Coleman
4ebe5218c7
Update Windows for word renames, fix lint errors
2011-10-24 21:50:02 -07:00
John Benediktsson
5a943b32c4
Remove stack effects from HELP: declarations.
2011-10-20 19:36:11 -07:00
John Benediktsson
80e1c8e3f2
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
8504b17aad
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
38feae0e8f
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
f6bdebb36b
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
15f44a7276
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
e026eb0db4
Merge branch 'cleanup'
2011-08-26 18:49:25 -07:00
John Benediktsson
9f34c9c676
Spelling fixes to documentation.
2011-08-26 16:20:31 -07:00
John Benediktsson
1def8141bd
combinators: fix typo in docs for case.
2011-08-10 16:25:21 -07:00
Slava Pestov
836743b25b
combinators: fix help lint
2011-02-25 21:06:10 -08:00
Keita Haga
19eb5d9689
combinators: insert a space after a comma in the documentation
2011-02-04 21:04:08 +09:00
Keita Haga
c997e43ca8
combinators: minor improvement to usage example of cond word
2011-02-04 17:53:00 +09:00
Keita Haga
db14fff1ae
combinators: minor improvement in usage example of case word
2011-01-17 00:42:07 +09:00
Keita Haga
d5fe4fecc1
remove useless whitespace in several documentation
2011-01-05 15:55:34 +09:00
Keita Haga
9b15b30ddb
combinators: fix typo to 'booleans' article and 'case' description in docs
2011-01-04 19:18:56 +09:00
Slava Pestov
fd1aad71bd
combinators: make the behavior of 'case' consistent between the optimized and unoptimized forms
2010-07-30 14:21:30 -04:00
Slava Pestov
58c95296f2
combinators: tweak docs
2010-06-03 21:34:55 -04:00
Slava Pestov
0d00160f4c
combinators: fix load error
2010-04-06 16:48:30 -04:00
Slava Pestov
e0196da1c8
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
512fe14e4e
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