Hooking into doc and source

2013-01-31 Thread Phillip Lord
I'm build a library which provides a DSL for building ontologies. Underneath this backs onto a Java API. The library works by provide some macros, which create Java objects then intern them into the local namespace. Now, I would like to be to support documentation and source code lookup. The ide

Re: Hooking into doc and source

2013-01-31 Thread Brian Marick
On Jan 31, 2013, at 5:50 AM, Phillip Lord wrote: > So, I really would like to hook into the doc function so that I can > return a documentation string pulled directly from the underlying Java > object; I already have a function for doing this, but do not know how to > get the native Clojure facil

Re: Hooking into doc and source

2013-01-31 Thread Hugo Duncan
phillip.l...@newcastle.ac.uk (Phillip Lord) writes: > I'm build a library which provides a DSL for building ontologies. > Underneath this backs onto a Java API. The library works by provide some > macros, which create Java objects then intern them into the local > namespace. > With the documenta

Re: Hooking into doc and source

2013-02-01 Thread Phillip Lord
Brian Marick writes: > On Jan 31, 2013, at 5:50 AM, Phillip Lord > wrote: >> So, I really would like to hook into the doc function so that I can >> return a documentation string pulled directly from the underlying Java >> object; I already have a function for doing this, but do not know how to

Re: Hooking into doc and source

2013-02-01 Thread Phillip Lord
Hugo Duncan writes: > phillip.l...@newcastle.ac.uk (Phillip Lord) writes: > >> I'm build a library which provides a DSL for building ontologies. >> Underneath this backs onto a Java API. The library works by provide some >> macros, which create Java objects then intern them into the local >> name

Re: Hooking into doc and source

2013-02-05 Thread Phillip Lord
>> So, I really would like to hook into the doc function so that I can >> return a documentation string pulled directly from the underlying Java >> object; I already have a function for doing this, but do not know how to >> get the native Clojure facilities to call this, rather than just take >> t