1 2 3 4 5 6 7 8 9
;; Utility functions. (module util) (defn load-plugin [name] (let [(ok? val-or-err) (pcall require name)] (if ok? (val-or-err) (print "Could not load config: " val-or-err))))