specter

Latest version: 1.1.3
unbalanced 2020-09-10T15:06:48.011800Z

Hiya @nathanmarz! I was inspired by your recent hackernews article to try and jump into Specter again. I've tried a few times in the path and... well, I'm kind of thick, I think. Is there a most recent "best way" to learn Specter from the ground up?

2020-09-10T15:28:18.011900Z

did you see all the stuff listed here? https://github.com/redplanetlabs/specter

2020-09-10T19:44:03.014Z

Just noticed something interesting today. Having a dangling selected? (i.e. no more paths after it) works in clj but fails in cljs .

(require '[com.rpl.specter :as sp])
(sp/select [sp/ALL even? sp/selected?] [1 3 5])
# in clj
=> []
# in cljs
Error: No protocol method ImplicitNav.implicit-nav defined for type cljs.core/MetaFn: [object Object]

nathanmarz 2020-09-10T21:57:25.015500Z

@goomba the Learn Specter section on the github page is probably best place to start

nathanmarz 2020-09-10T21:59:41.016600Z

@jeffrey.wayne.evans I guess MetaFn in cljs is not a function

nathanmarz 2020-09-10T21:59:46.016800Z

so the implicit nav doesn't kick in