Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;; scratch/record_types.clj
- (ns scratch.record-types)
- (defrecord Example [field-1 field-2])
- ;; scratch/record_test.clj
- (ns scratch.record-test
- (:require scratch.record-types)
- (:import scratch.record-types.Example))
- (def example (Example. :a :b))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement