Commit graph

189 commits

Author SHA1 Message Date
Nathan Marz
d76142e448 add subset test 2015-10-10 12:14:20 -04:00
Nathan Marz
0859070b02 update changelog 2015-10-10 11:56:02 -04:00
Nathan Marz
3a13052145 add nil->val, NIL->SET, NIL->LIST, NIL->VECTOR, and subset selectors 2015-10-10 11:52:50 -04:00
Nathan Marz
25de0eca7f update changelog 2015-10-10 11:21:13 -04:00
Josh Tilles
61f5a0a09a Adapt the test instructions to cljx.
The alias is taken from [the cljx README](20ec61792b (installation)).
2015-10-09 15:08:08 -04:00
Josh Tilles
8df05c2597 Minor tweak: avoid top-level dos. 2015-10-09 14:58:59 -04:00
Josh Tilles
9e215b638e Support Clojure 1.6 by adopting cljx.
Fixes nathanmarz/specter#16.
Resolves nathanmarz/specter#18.
2015-10-09 14:55:10 -04:00
Nathan Marz
ad1c4fdd53 0.7.1 2015-09-24 12:02:58 -05:00
Nathan Marz
9fcd9e5ed4 walker and codewalker can now be late-bound parameterized 2015-09-24 11:55:24 -05:00
Nathan Marz
1f55a0e701 fix tests for cljs 2015-09-24 11:54:20 -05:00
Nathan Marz
4b9a415eff add example of keypath to README 2015-09-22 10:37:55 -04:00
Nathan Marz
df4c3bf974 added paramsfn helper macro for defining filter functions with later bound parameters 2015-09-20 22:24:11 -04:00
Nathan Marz
f12b6bc046 fix typo/formatting 2015-09-18 15:01:01 -04:00
Nathan Marz
3f22361fad update changelog 2015-09-12 14:16:35 -04:00
Nathan Marz
c6046aa874 parameterize view and make a parameterized version of using a function called pred 2015-09-12 14:15:35 -04:00
Nathan Marz
42befa556e removed dead code 2015-09-12 14:15:17 -04:00
Nathan Marz
f89d76dbe4 update README 2015-09-12 13:27:14 -04:00
Nathan Marz
7ea4e4ef9c improve docs 2015-09-12 13:17:06 -04:00
Nathan Marz
5e08fd199e cleanup capture-params-internally code 2015-09-12 13:16:58 -04:00
Nathan Marz
93210092e9 improve docs 2015-09-11 19:43:42 -04:00
Nathan Marz
0c31819eba add documentation on late-bound parameterization 2015-09-11 19:42:30 -04:00
Nathan Marz
8141da7be9 0.7.0 2015-09-11 18:09:01 -04:00
Nathan Marz
f7f2911350 precompile ALL, LAST, and FIRST 2015-09-11 17:36:16 -04:00
Nathan Marz
993015b128 disable many params test for cljs because of bug in cljs 2015-09-11 17:28:37 -04:00
Nathan Marz
c6522de07d clojurescript port complete, not working for greater than 20 params 2015-09-11 17:17:43 -04:00
Nathan Marz
ffaaf06f9f parameterized paths working for cljs 2015-09-11 16:51:21 -04:00
Nathan Marz
5cb0a8e4f0 complete cljs refactoring 2015-09-11 16:13:03 -04:00
Nathan Marz
7a4caa5b61 partial refactoring to prepare for cljs compatibility 2015-09-11 16:06:31 -04:00
Nathan Marz
5aa3bc5da2 parameterized multi-path test 2015-09-11 15:05:49 -04:00
Nathan Marz
9a4a0cb26c nested filterer/selected? test with params 2015-09-11 13:53:27 -04:00
Nathan Marz
a71654b21e test of filterer with parameterization 2015-09-11 13:18:00 -04:00
Nathan Marz
b1e8c54b5f basic parameterization tests 2015-09-11 11:58:50 -04:00
Nathan Marz
c633e3a80a fix comment for putval 2015-09-11 11:23:51 -04:00
Nathan Marz
224369f4eb add comments about what can be parameterized 2015-09-11 11:21:21 -04:00
Nathan Marz
2a30a6aba5 collect-val instead of collect* 2015-09-11 01:42:29 -04:00
Nathan Marz
ae679b6cc1 remove dead code from old collector code 2015-09-10 23:10:34 -04:00
Nathan Marz
fc6392cc9e implement pathed collectors and convert collect and collect-one 2015-09-10 23:09:19 -04:00
Nathan Marz
bcfcd02f80 implemented paramscollector and converted putval to use it 2015-09-10 22:55:43 -04:00
Nathan Marz
983bf84495 parameterize srange and srange-dynamic, ParamsNeededPaths can now be called as a function to convert to CompiledPath 2015-09-10 22:26:32 -04:00
Nathan Marz
ef40adbe3b better names for higher order parameterized path helpers 2015-09-10 21:47:52 -04:00
Nathan Marz
a983e6e028 all higher order selectors now converted to be parameterizable, helpers for making higher order selectors with fixed paths or variable paths complete 2015-09-10 20:47:46 -04:00
Nathan Marz
3187cdad34 have params-paramspath helper automatically compile the path, refactor filterer 2015-09-10 17:12:54 -04:00
Nathan Marz
efd4f2ee9a higher order parameterized builder working, implemented filterer 2015-09-10 17:09:16 -04:00
Nathan Marz
56ba5a5b8d removed unused KeyPath type 2015-09-10 14:08:57 -04:00
Nathan Marz
2dfc490438 remove debugging println 2015-09-10 13:57:27 -04:00
Nathan Marz
d8feed2ca1 paramspath working with composition, measured about 14% slower than compiled path without params and 15x faster than select with on the fly compilation 2015-09-10 13:56:33 -04:00
Nathan Marz
6e3f79dd53 restructured in terms of CompiledPath and implemented composition for ParamsNeededPath 2015-09-10 02:38:52 -04:00
Nathan Marz
d693ad29ae more name refactoring 2015-09-10 00:04:57 -04:00
Nathan Marz
d1a5b66c71 rename StructureValsPathComposer to PathComposer 2015-09-10 00:03:29 -04:00
Nathan Marz
f800a510dd remove unnecessary StructureValsPath protocol and move path composer protocol into impl 2015-09-09 15:20:58 -04:00