Comment made by: importer
chouser@n01se.net said: That's a great question. get-source just needs a file name and line number.
If IMeta were a protocol, it could be extended to Class. That implementation could look for a "well-known" static field, perhaps? __clojure_meta or something? Then deftype would just have to populate that field, and get-source would be all set.
Does that plan have any merit? Is there a better place to store a file name and line number?