Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supress clojure warning about drop being replaced #1

Open
polymeris opened this issue May 29, 2024 · 0 comments
Open

Supress clojure warning about drop being replaced #1

polymeris opened this issue May 29, 2024 · 0 comments

Comments

@polymeris
Copy link

Minor thing, but could you exclude clojure's drop from conjurernix.electric-franken.api to avoid the following warning?

WARNING: drop already refers to: #'clojure.core/drop in namespace: conjurernix.electric-franken.api, being replaced by: #'conjurernix.electric-franken.api/drop

I think this should suffice:

(ns conjurernix.electric-franken.api
  "Macro based API inspired from electric ui4/ui5"
  (:refer-clojure :exclude [drop])
  (:require [hyperfiddle.electric-dom2 :as dom]))

Alternatively, rename the drop macro, but that's potentially breaking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant