Skip to content

Instantly share code, notes, and snippets.

@seancorfield
Created September 8, 2011 21:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save seancorfield/1204829 to your computer and use it in GitHub Desktop.
Save seancorfield/1204829 to your computer and use it in GitHub Desktop.
;; src/beta3/trial.clj:
(ns beta3.trial)
(defrecord TrialRecord [first last])
;; src/beta3/core.clj:
(ns beta3.core
;; fails if this require is removed:
(:require beta3.trial)
(:import beta3.trial.TrialRecord))
(defn -main []
(println (TrialRecord. "Sean" "Corfield")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment