Fork me on GitHub

is there an example of this in action anywhere? a little hard to understand it reading the ticket


I haven’t used it yet, but my understanding is that you can write code like below. If you use :as the code will fail b/c the namespace doesn’t exist but :as-alias will work.

(ns my-namespace.core
  (:require [my-namespace-that-doesnt-exist.core :as-alias foo]))

{::foo/bar true} ;; => {:my-namespace-that-doesnt-exist.core/bar true}