Commit Graph

18 Commits (8fc7b329c69d58eab325f00f65c4618ba9b1e097)

Author SHA1 Message Date
Doug Coleman 2bfde77127 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 5401559b4c 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 10387f8df9 combinators.smart: Implement reduce-outputs using compose, fix some stack effects, add using 2011-11-28 20:55:10 -08:00
Doug Coleman 2e6cfa41da 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 664239e1ba generalizations: Refactor stack-checker so that smart combinators can be used with curry and compose. 2011-11-27 20:25:22 -08:00
Doug Coleman 1d602976c3 Fix smart-if* for multiple inputs and test. oops 2010-04-29 20:21:53 -05:00
Doug Coleman 6cac86bee4 Demonstrate smart-if and smart-if* combinators 2010-04-29 19:57:07 -05:00
Doug Coleman 915afadb4c Add mnapply, smart-apply. Docs incoming soon 2010-01-29 13:47:06 -06:00
Slava Pestov 893fe98429 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 f5de89e404 combinators.smart: add nullary combinator and some tests 2009-11-09 00:53:58 -06:00
Doug Coleman d1ce837569 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 3353a777f7 Fixing some unit test failures 2009-04-22 07:05:00 -05:00
Slava Pestov 05f3f9dcb9 Fixing unit tests for stack effect inference changes 2009-04-20 21:15:19 -05:00
Slava Pestov 13af3b4801 combinators.smart: add map-reduce-outputs 2009-02-12 02:19:41 -06:00
Slava Pestov 3166828f75 Fix bug reported by Doug: smart combinators and inline words didn't mix very well in some cases 2009-02-06 04:38:54 -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