collect and db difference?

2009-04-21 Thread Tomas Hlavaty
Hi Alex, is this expected behaviour? : (collect 'usr '+Pat *U 'doc *D) -(NIL) : (db 'usr '+Pat *U 'doc *D) -{Bg} I would expect 'collect' returning ({Bg}). Or could it be some problem with my ER schema? (class +Pat +Entity) (rel doc (+Ref +Link) NIL (+Doc)) (rel usr (+Ref +Link) NIL (+Usr))

(pack (intern NIL)) bug?

2009-04-21 Thread Tomas Hlavaty
Hi Alex, is there a function to look up an interned symbol? 'intern' does not seem to be doing that: : (intern NIL) - NIL : (pack NIL) - NIL : (pack (intern NIL)) - NIL : This behaviour seems a bit strange to me. I would expect (pack (intern NIL)) to return NIL... Thank you, Tomas --