bhauman / devcards

Devcards aims to provide a visual REPL experience for ClojureScript
1.53k stars 116 forks source link

Easy way to get the card id from inside a card? #136

Open rlhk opened 6 years ago

rlhk commented 6 years ago

Please see my question in the code comment. Looking for a way to do so apart from making a custom card. Thanks !

(defcard-rg basic-query
  ; is there an easy way to get the card id "basic-query" 
  ; to pass it to some functions inside this card? 
  (some-function <the-id>)
  )
bhauman commented 5 years ago

right now there is no easy way to do this, but I can see why you would want it.