Commit graph

135 commits

Author SHA1 Message Date
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
Alex Engelberg
cb0dc261cf Add tests for transients, fix transient navigators based on test failures 2016-06-05 21:38:14 -07:00
Nathan Marz
ff903cd236 optimize selected? and not-selected? 2016-06-04 22:57:56 -04:00
Nathan Marz
f82ab31b36 expand optimized if-path to encompass any sequence of static functions 2016-06-04 21:22:57 -04:00
Nathan Marz
a4857a9d57 Fix #96 2016-06-04 17:19:39 -04:00
Nathan Marz
e1138747d9 fix #103 2016-06-03 16:25:27 -04:00
Nathan Marz
52740d56ac add :notpath metadata for pathedfn args that should not be interpreted as paths during inline factoring/caching, fixed transformed to operate appropriately in inline factoring when transform-fn is anonymous or local, drop support for cljs below v1.7.10 2016-06-02 02:42:18 -04:00
Nathan Marz
e2e8fa091e Added continuous-subseqs navigator 2016-05-28 13:57:30 -04:00
Nathan Marz
b8bcfd6054 change how macroexpansion is done during inline caching so that nested &env are correctly computed. Allows for inline caching to occur nested inside an inline caching expression 2016-05-24 17:01:17 -04:00
Nathan Marz
e70cfb3623 added nav constructors + tests, fixed bug with clj platform eval'd params fn to bind to the namesapace where the path was defined 2016-05-24 16:00:22 -04:00
Nathan Marz
8dd0f7e168 finish test for inline caching 2016-05-23 15:17:47 -04:00
Nathan Marz
4f3990c239 added tests and cljs-specific fixes 2016-05-23 14:58:22 -04:00