Re: Protocols/records and namespaces

2010-06-22 Thread Brent Millare
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

Re: Protocols/records and namespaces

2010-06-22 Thread Laurent PETIT
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