Skip to content

Instantly share code, notes, and snippets.

Created October 3, 2014 04:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/84649fdd3dfcfbb215be to your computer and use it in GitHub Desktop.
Save anonymous/84649fdd3dfcfbb215be to your computer and use it in GitHub Desktop.
(ns blah
(:require
[widget-a]
[widget-b]))
(defn foo [some-ns]
(some-ns/init))
(def widgets [widget-a widget-b])
(doseq [widget widgets]
(foo widget))
(ns widget-a)
(defn init [])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment