Skip to content

Conversation

@Tko1
Copy link
Member

@Tko1 Tko1 commented May 17, 2020

(ie, things like

(ns blah (:require [ns1 :refer :all] [ns2 :refer [a b c]]))

and where clojure.core is referred in all namespaces by default

@Tko1 Tko1 changed the title Added bare basic referring of whole namespaces Add referring to namespaces (ie, things like (ns blah (:require [ns :refer :all] [n2 :refer [a b c]])) May 17, 2020
@Tko1 Tko1 changed the title Add referring to namespaces (ie, things like (ns blah (:require [ns :refer :all] [n2 :refer [a b c]])) Add referring to namespaces May 17, 2020
@erkkikeranen
Copy link
Member

any possibility to have in this phase:

  • (:require [clojure.string :as s])
  • (:require [clojure.string :as s :refer [join])

other to consider:

  • (:require [clojure [core] [string :as str :refer [replace]] ) (using prefixes)
  • (:require [clojure.string :as s :refer [join] :rename {join string-join}])
  • for repl usage: (require '[clojure.string :as s])
@Tko1
Copy link
Member Author

Tko1 commented May 19, 2020

Yea, might as well get that in there while we're on that feature. That said, I might still add it under another issue / ticket

@Tko1 Tko1 force-pushed the feature/namespaces/refers branch from 23a4393 to 20af47b Compare May 21, 2020 14:39
@Tko1 Tko1 merged commit 54d6e40 into master Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants