Commit graph

98 commits

Author SHA1 Message Date
Christophe Grand
00e19651ed
Can't type, blame the flu. 2018-01-25 12:13:04 +01: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
db0555c358 make xforms a npm package 2017-11-17 09:30:27 +01:00
Christophe Grand
82c7c1fff2 v0.15 stream.Transformer 2017-11-16 18:53:46 +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
37d4732117 Merge pull request #18 from jstokes/patch-1
Remove space in xforms dependency coordinates
2017-10-21 16:44:42 -05:00
Jeff Stokes
00b9e93e6e Remove space in xforms dependency coordinates 2017-10-21 15:43:35 -04: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
da53490f20 v0.12.1 2017-10-18 19:38:06 -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
899154c0df xforms 0.11.0, with xio/sh to use any shell process as a transducer 2017-10-05 13:23:40 +02:00
Christophe Grand
89d384ce74 Make 3+-arg arities of edn-out and lines-out to be transducing contexts. 2017-10-05 10:31:53 +02:00
Christophe Grand
ea7a3e699d 0.10.1 fix edn-out and add documentation on edn-in 2017-10-04 15:58:50 +02: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
23feac44dc update CI conf 2017-09-12 22:44:54 +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
81d0f0c171 Merge pull request #15 from maacl/patch-1
Clarification regarding use of 1-item transducers
2017-04-28 12:43:29 +00:00
Martin Clausen
568f9fe39d Clarification regarding use of 1-item transducers 2017-04-28 13:25:00 +02:00
Christophe Grand
3bb82ad06d 0.9.3 2017-04-04 09:37:03 +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
e327d1899b Add failing test for #14 2017-04-04 09:35:09 +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
d5e5aa3670 0.8.2 identical to 0.8.1 but 0.8.1 on clojars is a dirty build 2017-01-17 12:35:54 +01:00
Christophe Grand
6d2d448e34 0.8.1 2017-01-09 16:41:24 +01:00
Christophe Grand
320668e7b5 fix reader conditional, close #8 2017-01-09 16:41:00 +01:00
Christophe Grand
6047563033 using Welford formula for sd 2017-01-09 16:38:55 +01:00
Christophe Grand
b130b6b6eb v0.8.0 2017-01-05 15:41:39 +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
481a5a3b1e 0.7.2 2016-12-19 14:19:50 +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
3de578463f 0.7.1 2016-12-16 16:28:43 +01:00
Christophe Grand
21edbd25c6 Cljs 1.9.293 is enough 2016-12-16 16:19:22 +01:00
Christophe Grand
21a506c364 Ported tests 2016-12-16 15:10:09 +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
Christophe Grand
3190a96041 0.7.0 2016-12-08 18:20:35 +01:00
Christophe Grand
a4a5e6a8df Preserve type hints 2016-12-08 16:28:46 +01:00
Christophe Grand
d16bd380fa x/count can now be used as a transducing context (x/count xform coll). /cc @iig 2016-12-08 12:02:29 +01:00
Christophe Grand
62c3dd15cc doculent that partition is high-order too 2016-12-05 11:37:04 +01:00