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 |
|
Nathan Marz
|
b156727f3c
|
fix inline handle params for cljs, most tests passing
|
2016-05-23 10:01:44 -04:00 |
|
Nathan Marz
|
fcb5e013d4
|
fixed inline precompilation of inline sets in paths, fix bug leading to wrong params order during inline precompilation, change select/transform operations to be macros and move code around accordingly, rename previous versions of select/transform functions with * added
|
2016-05-22 08:57:53 -04:00 |
|
Nathan Marz
|
cdcdbbbaa4
|
clean up terminology – defpath -> defnav, path -> nav, fixed-pathed-path -> fixed-pathed-nav, variable-pathed-path -> variable-pathed-nav, StructurePath -> Navigator (breaking changes)
|
2016-05-21 15:54:07 -04:00 |
|
Rakesh
|
c280b40b12
|
renamed atompath to ATOM
|
2016-05-08 23:39:14 +05:30 |
|
Nathan Marz
|
03f6a12baa
|
fix must select
|
2016-05-05 14:59:25 -04:00 |
|
Nathan Marz
|
b4b2200377
|
added must navigator
|
2016-05-05 14:24:57 -04:00 |
|
Nathan Marz
|
f5c5284ae1
|
add docstrings to zippers
|
2016-04-25 17:47:10 -04:00 |
|
Nathan Marz
|
9a3a19bb9b
|
add NODE-SEQ, find-first, and NEXT-WALK
|
2016-04-24 16:49:45 -04:00 |
|
Nathan Marz
|
96d5e94a5b
|
fix zipper navigation to stop navigating when right/left/up/down/next navigate nowhere
|
2016-04-24 13:03:29 -04:00 |
|
Nathan Marz
|
a4e1f1267b
|
zippers working in cljs
|
2016-04-24 11:10:55 -04:00 |
|
Nathan Marz
|
70523ac38f
|
add zipper tests
|
2016-04-24 11:03:52 -04:00 |
|
Nathan Marz
|
2cbb49de48
|
verify that filterer maintains sequence types to the same degree that ALL does
|
2016-04-20 23:32:10 -04:00 |
|
Nathan Marz
|
7a29e3f056
|
Merge pull request #75 from aengelberg/add-select-view
Add new "subselect" path selector
|
2016-04-20 21:57:51 -04:00 |
|
Beau Fabry
|
eb20e86f9c
|
Address PR comments
* Behave the same as select-keys for non-existent keys
* Remove variadic input redirection
* Use reduce to remove data instead of apply
|
2016-04-19 17:35:34 -07:00 |
|
Beau Fabry
|
b3c707092e
|
add a submap path
|
2016-04-19 15:15:06 -07:00 |
|
Alex Engelberg
|
c7252a2b90
|
Changed name from 'select-view' to 'subselect'
|
2016-04-19 12:04:18 -07:00 |
|
Alex Engelberg
|
fbacd49817
|
Fix (is (= x) y) caught by humane-test-output
|
2016-04-19 00:48:49 -07:00 |
|
Alex Engelberg
|
96f6bbc9f4
|
Add select-view path selector + test case
|
2016-04-19 00:47:56 -07:00 |
|
Nathan Marz
|
cd713f1439
|
test improvements
|
2016-04-18 14:25:33 -04:00 |
|
Nathan Marz
|
c861756836
|
Merge pull request #73 from thomasathorne/biview
Add `parser` path.
|
2016-04-18 14:20:19 -04:00 |
|
Nathan Marz
|
0134656d0a
|
minor code cleanup
|
2016-04-18 12:18:47 -04:00 |
|
Thomas Athorne
|
39b08bd9d5
|
Make the test a bit more thorough.
|
2016-04-17 16:13:56 +01:00 |
|
Thomas Athorne
|
60bf33ffab
|
Change name; add a test spec.
|
2016-04-17 16:04:22 +01:00 |
|
Stephen Rudolph
|
0f2118d939
|
Merge remote-tracking branch 'upstream/master'
|
2016-02-26 16:29:34 -06:00 |
|
Nathan Marz
|
6db23aa6c8
|
fix tests
|
2016-02-14 13:35:23 -05:00 |
|
Stephen Rudolph
|
095fc00319
|
Added newline back
|
2016-02-12 20:29:40 -06:00 |
|
Stephen Rudolph
|
1b26aaff1b
|
Fixed CLJS queue usage
|
2016-02-12 20:27:32 -06:00 |
|
Stephen Rudolph
|
a12222eac5
|
Persistent queues no longer treated as lists
|
2016-02-12 16:16:54 -06:00 |
|
Nathan Marz
|
de15b1e23e
|
handle paramsneededpath with 0 params (used for params-reset) correctly in higher order paths
|
2016-02-11 16:54:14 -05:00 |
|
Nathan Marz
|
b16dbdfdd2
|
change params-reset to backtrack in params-idx by number of needed params of its path, add test that verifies composability
|
2016-01-30 12:41:29 -08:00 |
|
Nathan Marz
|
c259583e81
|
add test for recursive navigation with params
|
2016-01-30 12:12:26 -08:00 |
|
Nathan Marz
|
7e54757659
|
auto-coerce map entries to vectors during ALL
|
2016-01-28 12:41:36 -08:00 |
|
Nathan Marz
|
dd6dafc390
|
implemented declarepath/providepath
|
2016-01-14 17:36:49 -05:00 |
|
Nathan Marz
|
1328551a19
|
added STAY, stay-then-continue, and continue-then-stay selectors
|
2016-01-14 13:15:19 -05:00 |
|
Nathan Marz
|
2ad873da11
|
fixed #48
|
2016-01-11 10:25:03 -05:00 |
|
Nathan Marz
|
c9b78ce0d6
|
add VOID selector
|
2016-01-10 10:35:18 -05:00 |
|
Nathan Marz
|
827726cf54
|
implement tests for protocol paths, make clear that it only works in clj
|
2015-12-12 12:37:21 -05:00 |
|
Nathan Marz
|
dd5620cfec
|
added nil->val test
|
2015-10-10 12:20:41 -04:00 |
|
Nathan Marz
|
d76142e448
|
add subset test
|
2015-10-10 12:14:20 -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
|
1f55a0e701
|
fix tests for cljs
|
2015-09-24 11:54:20 -05: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
|
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
|
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
|
f800a510dd
|
remove unnecessary StructureValsPath protocol and move path composer protocol into impl
|
2015-09-09 15:20:58 -04:00 |
|
John Hume
|
4317831ba8
|
fix test
|
2015-07-05 14:56:36 -05:00 |
|
Nathan Marz
|
052d541f8e
|
fix test
|
2015-07-03 00:11:03 -04:00 |
|