Skip to content

Instantly share code, notes, and snippets.

@boxxxie boxxxie/gist:4260243
Created Dec 11, 2012

What would you like to do?
(ns clojure-api.configvention
(:require [fs.core :as fs]))
(def config-files [ "../../../src/app.js.defaults.config.json"
(defn load-config [] (map slurp config-files))
throws error ->
lib names inside prefix lists must not contain periods
[Thrown class java.lang.Exception]
0: [QUIT] Quit to the SLIME top level
0: core.clj:5250 clojure.core/load-lib
1: clojure.lang.RestFn.applyTo
2: core.clj:603 clojure.core/apply
3: core.clj:5302 clojure.core/load-libs
4: clojure.lang.RestFn.applyTo
5: core.clj:603 clojure.core/apply
6: core.clj:5381 clojure.core/require
7: clojure.lang.RestFn.invoke
8: configvention.clj:1 clojure-api.configvention/eval1979[fn]
9: configvention.clj:1 clojure-api.configvention/eval1979
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.