On Wed, Jan 13, 2010 at 11:08 PM, Robert Goldman rpgoldman@sift.info wrote:
In the current version of CL-JSON, defining a json-rpc-function puts the /function/ in a hash-table.
I have been wrestling with testing my json-rpc-2.0 code
Great, I saw you were active on the json-rpc mailing list as well.
and find that
this structure makes my code hard to debug. In particular, I can't effectively TRACE a function that's exported from cl-json.
While you are testing, you might consider coding some testcases at the same time.
How would you feel about putting the symbol that /names/ the function into the hash-table, instead of the function itself?
I don't see any problems with this.
/Henrik