cursive icon indicating copy to clipboard operation
cursive copied to clipboard

support shadow-cljs / nbb style reader conditionals

Open raymcdermott opened this issue 2 years ago • 0 comments

The code using #?@ all works but is greyed out in the editor. It is treated OK in the standard #? form

(ns io.ok2cry.cry
  (:require
    #?@(:org.babashka/nbb [["crypto" :as crypto]]
        :cljs [])
    #?@(:org.babashka/nbb [["buffer" :as buffer]]
        :cljs [])
    [clojure.string :as string]
    [clojure.edn :as edn]
    [promesa.core :as p]))

Screenshot from 2022-07-02 13-29-38

raymcdermott avatar Jul 02 '22 11:07 raymcdermott