Skip to content

Conversation

jasalt
Copy link
Contributor

@jasalt jasalt commented Aug 20, 2025

While looking for this solution noted also that Clojure has a special (:refer-clojure :exclude [get]) facility in ns form e.g. https://github.com/babashka/http-client/blob/d56bc7f86903d09ff3faef1500ad36005dab037f/src/babashka/http_client/internal.clj#L3 where core function can be referred by clojure.core/get afterwards. I think this helps to avoid ambiguity before the original name gets re-defined in user code. Included notice to warn about this as excluding names this way is not possible with Phel currently.

Copy link
Member

@Chemaclass Chemaclass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@Chemaclass Chemaclass added the documentation Improvements or additions to documentation label Aug 20, 2025
@Chemaclass Chemaclass merged commit f23513a into phel-lang:master Aug 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants