Commit graph

124 commits

Author SHA1 Message Date
Nathan Marz
c861756836 Merge pull request #73 from thomasathorne/biview
Add `parser` path.
2016-04-18 14:20:19 -04:00
Thomas Athorne
1ddd8c22f6 Clearer names for arguments that are functions. 2016-04-18 16:21:33 +00:00
Nathan Marz
0134656d0a minor code cleanup 2016-04-18 12:18:47 -04:00
Nathan Marz
f048d23cda Merge pull request #63 from StephenRudolph/master
Add idempotency for PersistentQueue collection type
2016-04-18 12:09:59 -04:00
Nathan Marz
c962971d7a fix for bootstrap cljs compatibility 2016-04-17 21:00:58 -04:00
Nathan Marz
703e25e1fe use->require in macros.clj for bootstrap cljs compatibility 2016-04-17 16:26:54 -07:00
Thomas Athorne
60bf33ffab Change name; add a test spec. 2016-04-17 16:04:22 +01:00
Thomas Athorne
c34e900427 Add biview path. 2016-04-16 17:16:23 +01:00
Stephen Rudolph
ddea0a223d Moving CLJS code to use transformers instead of reducers 2016-02-26 17:10:09 -06:00
Stephen Rudolph
0f2118d939 Merge remote-tracking branch 'upstream/master' 2016-02-26 16:29:34 -06:00
Nathan Marz
ed6f1902b9 rename VOID to STOP 2016-02-13 18:56:35 -05: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
8293f68696 allow defprotocolpath to be defined with no params argument for consistency with declarepath 2016-01-31 10:01:08 -08: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
8dd2cb8939 allow declarepath to have parameters, implemented params-reset for enabling recursive parameterized paths 2016-01-30 12:03:46 -08:00
Nathan Marz
7e54757659 auto-coerce map entries to vectors during ALL 2016-01-28 12:41:36 -08:00
Nathan Marz
d56ea62e00 reimplement stay-then-continue and continue-then-stay in terms of multi-path 2016-01-22 19:45:20 -08:00
Nathan Marz
aa8755254f clean up notes 2016-01-14 17:48:39 -05: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
b3b6b99e7a fix replace-in to work with value collection 2016-01-12 16:25:02 -05:00
Nathan Marz
49c749b74e fix typo in comment 2016-01-12 15:40:37 -05:00
Nathan Marz
e37c605697 protocol path extensions now verify if correct number of parameters and error otherwise 2016-01-11 14:45:06 -05:00
Nathan Marz
2ad873da11 fixed #48 2016-01-11 10:25:03 -05:00
Nathan Marz
af7d76be97 improve syntax checking for defpath 2016-01-10 10:35:38 -05:00
Nathan Marz
c9b78ce0d6 add VOID selector 2016-01-10 10:35:18 -05:00
Nathan Marz
0f3ea6c79b throw error if function names incorrectly specified in defpath, improve formatting of error messages 2016-01-05 08:57:27 -05:00
Nathan Marz
3073f1256b fix array creation for cljs 2015-12-16 01:03:39 -05:00
Nathan Marz
41f42e20a1 fixed inadvertant reflection in protocol paths, replace object-array in jvm impl with faster impl 2015-12-16 00:53:50 -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
fc51d70b0f renamed defparamspath and defparamscollector to defpath and defcollector, defpath without params now produces compiledpath directly, implemented protocolpaths 2015-12-12 12:03:59 -05:00
Nathan Marz
3980e0f194 make comp-paths work on lazyseqs for cljs 2015-11-03 10:51:42 -05:00
Nathan Marz
3a13052145 add nil->val, NIL->SET, NIL->LIST, NIL->VECTOR, and subset selectors 2015-10-10 11:52:50 -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
9fcd9e5ed4 walker and codewalker can now be late-bound parameterized 2015-09-24 11:55:24 -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
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
5e08fd199e cleanup capture-params-internally code 2015-09-12 13:16:58 -04:00
Nathan Marz
f7f2911350 precompile ALL, LAST, and FIRST 2015-09-11 17:36:16 -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
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