Commit graph

27 commits

Author SHA1 Message Date
Timothy Jones
1a3cbdac72
Handle downstream reduced in multiplexed complete 2019-10-23 16:52:37 -04:00
Timothy Jones
04c577a063
Avoid completing multiplex xforms multiple times 2019-10-23 16:50:45 -04:00
Christophe Grand
e9361072c1 0.19.0 add x/time 2018-11-14 14:06:06 +01:00
Timothy Jones
284203079a
Resolve reflection warnings on ArrayDeque 2018-04-20 11:02:43 +12:00
Christophe Grand
7c048e11bb 0.16.0: 2-arg x/str is now a string-producing transducing context. Adds x/wrap.
Also change documentation to use the term aggregator for 1-item-out transducers.
2018-01-25 10:41:36 +01:00
Christophe Grand
c52dc4c873 v0.14: add sort & sort-by 2017-11-16 16:58:34 +01:00
Christophe Grand
0515b711df 0.13.0 x/without, the opposite of x/into: dissoc/disj'ing instead of conj'ing. 2017-10-26 18:11:19 +02:00
Christophe Grand
023ca6043e Fix issue with iterator
When there was only 1-item produced by an aggregating xform .hasNext was returning false.
2017-10-19 11:38:19 -05:00
Christophe Grand
5017069c7a docstring fix 2017-10-18 19:34:22 -05:00
Christophe Grand
6145006946 Fix non-completion bug in iterator 2017-10-18 19:33:57 -05:00
Christophe Grand
51b61f3889 Add the iterator transducing context 2017-10-18 14:39:50 -05:00
Christophe Grand
b96d9d7994 Make kvrf smarter: can infer arity 2 from and 3 from 2 2017-10-18 14:39:15 -05:00
Christophe Grand
809f8f709b xforms 0.10.0: new io namespace, some as a transducing context (and a rf) too 2017-10-04 15:46:25 +02:00
Christophe Grand
8f04ad0748 Make x/for to unroll some reductions
When an expression in collection position in `x/for` is a collection literal with less than 4 items (or tagged with `^:unroll`) then the collection is not allocated and the reduction over it is unrolled.
2017-09-19 17:26:11 +02:00
Christophe Grand
8f9b954a2b 0.9.4: add x/into-by-key, shorthand for (comp (x/by-key ..) (x/into ..)) 2017-09-12 16:29:42 +02:00
Christophe Grand
5025e583f2 Fix #14: no call to downstream complete with padded partition when there's no incomplete partition 2017-04-04 09:36:35 +02:00
Christophe Grand
362febaf5f for was not emitting kv pairs in cljs because of extra compiler metadata, fix #13 2017-03-28 16:25:35 +02:00
Christophe Grand
5ea2d1b3d3 x/str was documented but not in the repo 2017-02-25 03:44:49 +01:00
Christophe Grand
64eb4c6158 v0.9.0 add take-last and drop-last 2017-02-02 13:16:51 +01:00
Christophe Grand
8a9d383198 v0.8.3: fix #10 (and another bug in padded partition) and update doc 2017-01-26 13:50:10 +01:00
Christophe Grand
d1f721883a Add x/sd and rf/sd for standard deviation 2017-01-05 15:41:15 +01:00
Christophe Grand
d4f0280bb5 use macros/replace 2017-01-05 15:40:46 +01:00
Christophe Grand
0422678643 fix typo in docstring 2017-01-05 15:38:40 +01:00
Christophe Grand
e1d2d6c848 fix port bug.perf issue in cljs: transient code path was never taken. 2016-12-19 14:18:01 +01:00
Christophe Grand
cffd76298b near total port (window-time is missing) 2016-12-16 14:52:59 +01:00
Christophe Grand
c084089681 fix weird bug in alias resolution 2016-12-15 17:49:23 +01:00
Christophe Grand
bae1a9d1ad WIP cljc conversion, basics (like (x/into {} (x/by-key odd? (x/reduce +)) (range 10))) work 2016-12-15 17:39:28 +01:00
Renamed from src/net/cgrand/xforms.clj (Browse further)