Doug Coleman
|
33d96f7623
|
combinators.smart: Add smart combinator that outputs a seq and (length-n) more elements.
|
2015-08-06 12:07:20 -05:00 |
Doug Coleman
|
352e5de16a
|
core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
|
2015-06-29 17:25:40 -07:00 |
Doug Coleman
|
e996dc7f8e
|
combinators.smart: Clarify stack effect for cleave>array.
|
2013-05-14 14:33:04 -07:00 |
John Benediktsson
|
5903b2ccf5
|
combinators.smart: adding smart-2reduce and smart-2map-reduce, for @erg.
|
2012-09-26 17:43:26 -07:00 |
John Benediktsson
|
c5c74aa59c
|
combinators.smart: adding smart-reduce and smart-map-reduce.
|
2012-09-26 17:01:44 -07:00 |
Doug Coleman
|
cda2e4d7da
|
combinators.smart: Add cleave>sequence.
|
2012-09-19 15:44:20 -07:00 |
Doug Coleman
|
8bfed897a8
|
combinators.smart: Add cleave>array.
|
2012-09-16 17:32:27 -07:00 |
John Benediktsson
|
2620c64c21
|
combinators.smart: adding smart-with.
|
2012-08-13 19:32:12 -07:00 |
Doug Coleman
|
ebb722bf56
|
combinators.smart: Make map-reduce-outputs a macro. To be a combinator, we need a full stack-checker rewrite.
|
2011-12-19 11:12:37 -08:00 |
Doug Coleman
|
abc953ecea
|
help-lint fixes for recent changes
|
2011-12-07 12:26:35 -08:00 |
Doug Coleman
|
d283eac921
|
combinators.smart: Tell the stack checker that the return values from inputs/ouputs are input-parameters
Fixes #435
|
2011-11-30 23:15:42 -08:00 |
Doug Coleman
|
0a287cb33f
|
combinators.smart: Use an identity memoize on inputs/outputs word to speed up the non-optimizing compiler
|
2011-11-30 14:41:32 -08:00 |
Doug Coleman
|
cde3c043bf
|
combinators.smart: Fix infer-known; should be 100% now.
It's stack-checker bugs all the way down.
|
2011-11-28 20:55:11 -08:00 |
Doug Coleman
|
c1a49e69c8
|
combinators.smart: Implement reduce-outputs using compose, fix some stack effects, add using
|
2011-11-28 20:55:10 -08:00 |
Doug Coleman
|
8b18af0335
|
combinators.smart: Enable a unit test, handle M: object infer-known*, make sum-outputs a macro.
Fixes inverse but still needs work, once I figure out how.
|
2011-11-28 14:36:57 -08:00 |
Doug Coleman
|
41e4c48647
|
combinators.smart: Fix reduce-outputs, rename quot*n to call-n, rewrite more macros as combinators.
|
2011-11-28 12:41:50 -08:00 |
Doug Coleman
|
2b87eaa1b5
|
generalizations: Refactor stack-checker so that smart combinators can be used with curry and compose.
|
2011-11-27 20:25:22 -08:00 |
Slava Pestov
|
50323dda6d
|
combinators.smart: remove boa-preserving
|
2010-06-23 21:10:46 -04:00 |
Doug Coleman
|
1806a0ce77
|
Add a new smart combinator boa-preserving and document the rest of the smart combinators. Simpler implementation of nullary.
|
2010-06-23 14:58:07 -05:00 |
Slava Pestov
|
ea726f5680
|
Move remaining sequence operations from generalizations to sequences.generalizations where they belong
|
2010-05-18 18:36:47 -04:00 |
Doug Coleman
|
242f8490c5
|
Fix smart-if* for multiple inputs and test. oops
|
2010-04-29 20:21:53 -05:00 |
Doug Coleman
|
79a3b71f47
|
Demonstrate smart-if and smart-if* combinators
|
2010-04-29 19:57:07 -05:00 |
Doug Coleman
|
c6b37f4da4
|
Rewrite mnapply to be a combinator instead of a macro. Write nspread* to implement mnapply
|
2010-01-31 14:48:01 -06:00 |
Doug Coleman
|
d3db7e0225
|
Add mnapply, smart-apply. Docs incoming soon
|
2010-01-29 13:47:06 -06:00 |
Slava Pestov
|
0fa425b03a
|
combinators.smart: smart-if was declared inline, and had no unit tests, and so was broken. This was not caught until inline macros became a parse error. Add unit tests for it
|
2010-01-27 22:23:04 +13:00 |
Slava Pestov
|
7155447aed
|
stack-checker: add inputs and outputs words, since 'infer (in>>|out>>) length' was coming up a lot
|
2010-01-15 08:04:14 +13:00 |
Slava Pestov
|
df4fb4a3ee
|
Removing integers-as-sequences
|
2010-01-15 07:15:33 +13:00 |
Slava Pestov
|
8e90b92da2
|
combinators.smart: add nullary combinator and some tests
|
2009-11-09 00:53:58 -06:00 |
Doug Coleman
|
3a5c7d8908
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2009-08-25 09:33:42 -04:00 |
Joe Groff
|
6f6edd79ac
|
combinators.smart: "keep-inputs" combinator
|
2009-08-21 21:17:15 -05:00 |
Doug Coleman
|
2936f05ce0
|
add smart-if to combinators.smart
|
2009-08-19 04:38:59 -05:00 |
Doug Coleman
|
8ddbfb5161
|
make output>array a macro to avoid subtle bugs
|
2009-05-12 10:32:19 -05:00 |
Slava Pestov
|
7094b78821
|
Add firstn-unsafe, input<sequence-unsafe
|
2009-04-26 21:22:06 -05:00 |
Slava Pestov
|
84b5ace863
|
alien.destructors: ignore any output values from disposal word
|
2009-03-28 22:26:49 -05:00 |
Slava Pestov
|
13af3b4801
|
combinators.smart: add map-reduce-outputs
|
2009-02-12 02:19:41 -06:00 |
Doug Coleman
|
a5175c1d1e
|
Add append-outputs and append-outputs-as, docs, tests
|
2009-01-18 21:18:52 -06:00 |
Doug Coleman
|
c8fe4b21e7
|
Rename reduce-output -> reduce-outputs
|
2009-01-09 15:39:47 -06:00 |
Doug Coleman
|
fe92608a1f
|
Add combinators.smart
|
2009-01-08 18:56:49 -06:00 |