Skip to content

Instantly share code, notes, and snippets.

@thheller
Created April 9, 2018 22:10
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 thheller/7fbd7376a35df44e182a89cbecbadc6c to your computer and use it in GitHub Desktop.
Save thheller/7fbd7376a35df44e182a89cbecbadc6c to your computer and use it in GitHub Desktop.
(loader/set-loaded! :mod-init)
(println "mod-init.main launching")
(println "in mod-init calling hi-one")
(loader/load :mod-one
(fn []
((resolve 'mod-one.main/hi-one))
(println "in mod-init calling hi-two")
(loader/load :mod-two
(fn []
((resolve 'mod-two.main/hi-two))
(println "in mod-init calling hi-three")
(loader/load :mod-three
(fn []
((resolve 'mod-three.main/hi-three))))))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment