Commit graph

126 commits

Author SHA1 Message Date
Imre Kószó
8191719956 Merge branch 'intoperf' into fixes-2022 2022-07-31 15:49:15 +02:00
Imre Kószó
be68293056 Merge branch 'issue-44' into fixes-2022 2022-07-31 15:49:08 +02:00
Imre Kószó
e8807764b1 Merge branch 'test-nits' into fixes-2022 2022-07-31 15:47:30 +02:00
Imre Kószó
5872fa5147 Merge remote-tracking branch 'guv/reflection-in-io' into fixes-2022 2022-07-31 15:46:36 +02:00
Imre Kószó
e8c8e1a37d Merge branch 'tools-deps' into fixes-2022 2022-07-31 15:46:05 +02:00
Imre Kószó
4391e6cc91 Add deps.edn & dev/test tooling 2022-07-31 15:38:07 +02:00
Imre Kószó
86d9ef14f1 Fix some reflection warnings seen in tests 2022-07-31 15:32:37 +02:00
Imre Kószó
891a7f98ba Fix xforms-test shadowing clojure.core vars
Get rid of the following warnings:
WARNING: reductions already refers to: #'clojure.core/reductions in namespace: net.cgrand.xforms-test, being replaced by: #'net.cgrand.xforms-test/reductions
WARNING: partition already refers to: #'clojure.core/partition in namespace: net.cgrand.xforms-test, being replaced by: #'net.cgrand.xforms-test/partition
2022-07-31 15:32:37 +02:00
Imre Kószó
10c58a0a81 Fix x/into perf problem when from is a small map 2022-07-31 15:05:46 +02:00
Imre Kószó
150a5712de Fix #44 (destructuring-pair? mistake) 2022-07-31 14:51:36 +02:00
Michiel Borkent
283cb13e58 Add compatibility with babashka 2021-11-24 12:06:29 +01:00
Gunnar Völkel
e9216a7d71 Fixes reflection usage in xforms.io. 2020-05-27 10:40:09 +02:00
Christophe Grand
62375212a8 Pushing 0.19.2 because 0.19.1 on clojars is badly built 2019-10-02 10:55:05 +02:00
Christophe Grand
9808cc8555 fix #31 -- but should be fixed on the CLJS side 2019-09-09 12:55:03 +02:00
Christophe Grand
00fae8ede4 Fix example
wax failing on duplicate values
2019-02-28 15:30:20 +01:00
Christophe Grand
3ab242de11
Fix typo thanks to jjttjj on Clojurians Slack for reporting it 2019-02-27 16:29:18 +01:00
Christophe Grand
e9361072c1 0.19.0 add x/time 2018-11-14 14:06:06 +01:00
Christophe Grand
9e542d9d00
Merge pull request #28 from zmthy/rfs-reflection-warnings
Remove reflection warnings from min/max rfs
2018-08-30 08:15:56 +00:00
Timothy Jones
521e08b547
Remove reflection warnings from min/max rfs 2018-08-29 14:18:03 -04:00
Christophe Grand
545b97ddf8 min (resp. max) now treats s as their absolute maximum (resp. minimum), so rf/min and rf/max are now associative and practically s are ignored. 2018-06-15 18:15:50 +02:00
Christophe Grand
0410484f90 v0.18.1: new avg semantics on empty inputs (emits nil) 2018-06-13 23:08:05 +02:00
Christophe Grand
445419effb v0.18.0 2018-06-13 23:02:12 +02:00
Christophe Grand
bae87d1b50 x/avg and rfs/avg return nil when no input 2018-06-13 23:02:12 +02:00
Christophe Grand
c65e766395
Merge pull request #23 from zmthy/deque-reflection-warnings
Resolve reflection warnings on ArrayDeque
2018-04-20 15:47:23 +02:00
Christophe Grand
d2533ae7fc
Merge pull request #22 from jgrodziski/master
Add a Troubleshooting section to README.md because of a bug I encountered
2018-04-20 15:47:02 +02:00
Timothy Jones
284203079a
Resolve reflection warnings on ArrayDeque 2018-04-20 11:02:43 +12:00
Christophe Grand
f2165ba932 xio/sh produces reducible collections 2018-04-16 23:08:27 +02:00
Jérémie Grodziski
34427101d7
Add a Troubleshooting section
I stumbled upon a strange interaction and bug when using xforms in a [clojurescript + figwheel + emacs / cider nrepl] dev environment. Adding xforms triggers a bug with the REPL evaluation result, adding the nrepl-middleware to figwheel solved the issue (dev env was correctly working before). I submit this to keep track of the issue if other people stumble upon it in the future.
2018-03-16 16:14:33 +00:00
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