Commit graph

124 commits

Author SHA1 Message Date
nathanmarz
ef5ad1de6d fix transforms on subvectors to maintain the type as a vector type 2017-02-17 12:05:12 -05:00
nathanmarz
b79a71decd Add BEFORE-ELEM, AFTER-ELEM, and NONE-ELEM navigators 2017-02-15 20:34:44 -05:00
nathanmarz
7c798c1e3b extend srange, BEGINNING, END, FIRST, and LAST to strings 2017-02-15 18:30:44 -05:00
nathanmarz
48efea55ab Added NAME and NAMESPACE navigators 2017-02-14 08:47:19 -05:00
nathanmarz
3dbc775334 fix if-path/selected?/not-selected? so that vals are passed along to condition paths 2017-02-14 08:25:54 -05:00
nathanmarz
baf658365e add test for select-any with value collection 2017-02-14 08:11:39 -05:00
nathanmarz
646e03a227 Add nthpath navigator 2017-02-12 21:13:08 -05:00
nathanmarz
e2b6f63f99 fix traverse with early termination to unwrap reduced vals 2017-02-12 15:24:13 -05:00
nathanmarz
3693d307fc fix traverse-all to properly propagate reduced vals, add tests 2017-02-12 11:37:14 -05:00
nathanmarz
f521409482 add with-fresh-collected higher order navigator 2017-02-11 08:56:45 -05:00
nathanmarz
9505ac6dd1 Implement #165 2017-01-08 19:15:14 -05:00
nathanmarz
3dfda1e293 finish unit tests for #117 2017-01-08 17:48:49 -05:00
nathanmarz
b127a6c428 add basic NONE removal tests 2017-01-08 17:39:15 -05:00
Nathan Marz
0ddb811326 add traversed test 2016-11-07 11:17:36 -05:00
Nathan Marz
dfedd30b29 Implemented #146, dynamic navigator enhancements 2016-10-31 23:57:12 -04:00
Nathan Marz
ce38883e64 fix flattening/type-conversion of sequential params during inline caching 2016-10-29 16:02:56 -04:00
Nathan Marz
ea1f851d94 Fix #148 2016-10-02 07:48:53 -04:00
Nathan Marz
2e85cedcc4 merge macros namespace into core com.rpl.specter namespace 2016-09-05 07:48:05 -04:00
Nathan Marz
37d985e5f0 added test for nested dynamic navs 2016-09-02 08:47:24 -04:00
Nathan Marz
0c50e1859d fix + test for when dynamic navs ignore dynamic params 2016-09-02 08:41:02 -04:00
Nathan Marz
939378fcd1 fix transformed, all tests passing 2016-09-01 22:16:39 -04:00
Nathan Marz
c80bf573a5 updated tests, lots of errors 2016-09-01 20:32:38 -04:00
Nathan Marz
21f117503e allow non-dynamic vars to be treated as constants and add test for constant detection 2016-08-13 15:59:38 -04:00
Nathan Marz
ac3f604211 reformat code with parinfer 2016-08-11 10:13:27 -04:00
Nathan Marz
74f38d93a9 switch from cljx to cljc 2016-08-06 10:40:45 -04:00
Nathan Marz
56da47aca5 generate a real higher order function from defnav and defcollector that returns a lean compiled path when invoked but coerces to equivalent paramsneededpath when composed, change nav constructors to recognize this and use a lean proxy for this case 2016-08-05 17:59:12 -04:00
Nathan Marz
b060339573 major optimization to multi-path by removing sequence operations at runtime 2016-06-23 12:35:47 -04:00
Nathan Marz
1497aacf59 fix tests for cljs 2016-06-23 12:30:17 -04:00
Nathan Marz
7dcc589495 added multi-transform tests 2016-06-23 11:56:29 -04:00
Nathan Marz
a8f48baced add vals collection + setval test, update changelog 2016-06-22 21:17:02 -04:00
Nathan Marz
9ff9ef6650 Fix #128 2016-06-21 18:38:00 -04:00
Nathan Marz
ba908284b9 tests for multi-path and if-path with vals collection 2016-06-16 09:52:41 -04:00
Nathan Marz
66f555ab73 fix multi-path + val collection and minor problem in if-path 2016-06-16 09:42:24 -04:00
Nathan Marz
8c128816f5 get macroexpansion for clojurescript working correctly so that collected? works inside inline paths 2016-06-13 17:23:23 -04:00
Nathan Marz
c82c3b71d8 add note about not being able to use collected? inline in a path when using cljs, disable that test for cljs 2016-06-13 15:26:08 -04:00
Nathan Marz
a687f4a0bc test for traverse + make it work in cljs 2016-06-13 14:51:20 -04:00
Nathan Marz
f26aa001eb make MAP-VALS work on nil 2016-06-11 09:51:28 -04:00
Nathan Marz
589e6aa471 added a collected?/DISPENSE test case for transform path 2016-06-10 08:09:11 -04:00
Nathan Marz
3dc7ad25ff added collected? and DISPENSE navigators 2016-06-10 07:57:18 -04:00
Nathan Marz
14c404c552 more tests for all/last/first on nil 2016-06-09 10:33:14 -04:00
Nathan Marz
4565a7e7d6 fail cljs build on any warnings, eliminate warning about com.rpl.specter.transient namespace by renaming to transients 2016-06-09 08:06:17 -04:00
Nathan Marz
98343784bf fix end, last, beginning, and first to work on nil 2016-06-08 14:42:24 -04:00
Nathan Marz
9045e13386 merge 2016-06-08 13:58:15 -04:00
Alex Engelberg
fbb7a17197 Add META navigator, test case, and benchmarks 2016-06-08 08:18:10 -07:00
Nathan Marz
49957f2536 Merge pull request #107 from aengelberg/transient-navigators
Transient navigators
2016-06-08 05:48:51 -04:00
Nathan Marz
5087e500b7 finish select-any tests 2016-06-07 13:16:00 -04:00
Nathan Marz
e698f5f06b bump version, optimized multi-path select, lots of select-any tests 2016-06-07 12:35:59 -04:00
Nathan Marz
ae98aa48ba add specialized MAP-VALS navigator to circumvent the unavoidable overhead of [ALL LAST] 2016-06-06 16:03:08 -04:00
Nathan Marz
5b949f9a52 update build to target clojure 1.6 during tests 2016-06-06 07:58:29 -04:00
Alex Engelberg
399e5661f1 The (identical?) trick doesn't work in cljs, but select-keys does 2016-06-05 22:11:34 -07:00