This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-20
Channels
- # announcements (1)
- # beginners (17)
- # calva (16)
- # cljfx (5)
- # clojure (94)
- # clojure-europe (1)
- # clojure-italy (2)
- # clojure-spec (4)
- # clojure-uk (1)
- # core-async (12)
- # datahike (3)
- # datomic (6)
- # depstar (4)
- # fulcro (30)
- # introduce-yourself (2)
- # malli (1)
- # off-topic (10)
- # re-frame (71)
- # shadow-cljs (15)
- # tools-deps (3)
- # xtdb (12)
I think the thing that bothers me the most about Crux is that you had the opportunity to call pull
yoink
, and missed it.
it's not out of beta yet, so there's still time! they already renamed it from eql/project to pull
Ah yes, the good ol’ yoink
and plop
yoink invokes my PTSD from my UO days
I'm also joking, so no stress
> https://www.urbandictionary.com/define.php?term=yoink > A word coined by https://www.urbandictionary.com/define.php?term=The%20Simpsons and made innumerably more famous in geek https://www.urbandictionary.com/define.php?term=circles by the game https://www.urbandictionary.com/define.php?term=Ultima%20Online. > To take something from its previous owner. > Dies > https://www.urbandictionary.com/define.php?term=Yoink! > > from https://www.urbandictionary.com/define.php?term=Yoink&page=11 I had to look that one up 🙂
> An exclamation that, when uttered in conjunction with taking an object, immediately transfers ownership from the original owner to the person using the word regardless of previous property rights. > Though I cherished my automobile, I had to purchase a new one when my second cousin came up from behind me and politely exclaimed, "Yoink" while taking my car keys.
(s/def :crux.query/find-arg
(s/and (s/or :logic-var crux.query/logic-var?
:pull (s/cat :pull #{'pull}
:logic-var crux.query/logic-var?
:pull-spec :edn-query-language.eql/query)
:yoink (s/cat :yoink #{'yoink}
:logic-var crux.query/logic-var?
:pull-spec :edn-query-language.eql/query)
:aggregate :crux.query/aggregate)
(s/conformer (fn [[arg-type arg]]
(if (= arg-type :yoink)
[:pull arg]
[arg-type arg]))
identity)))
your wish is my command - include this in your Crux app 🙂
(disclaimer: support not guaranteed in future Crux versions 😄)