Hi Laurent,
You're right, there is no such thing as a "class defined in a
namespace", I meant to ask instead, defines a var, which still would
not be correct. Referring to the record as protocol.test.person
worked. Thanks.
-Brent
On Jun 22, 6:07 pm, Laurent PETIT wrote:
> hello,
>
> 2010/6/22 B
hello,
2010/6/22 Brent Millare :
> user=> (in-ns 'protocol.test)
> #
> protocol.test=> (defrecord person [name age])
> protocol.test.person
> protocol.test=> (person. "bobby" 23)
> #:protocol.test.person{:name "bobby", :age 23}
> protocol.test=> (in-ns 'user)
> #
> user=> (protocol.test/person. "a