IN: scratchpad USE: hashtables USE: namespaces USE: oop USE: stack USE: test TRAITS: test-traits [ t ] [ test-traits? ] unit-test [ f ] [ "hello" test-traits? ] unit-test [ f ] [ test-traits? ] unit-test GENERIC: foo M: test-traits foo drop 12 ;M TRAITS: another-test M: another-test foo drop 13 ;M [ 12 ] [ foo ] unit-test [ 13 ] [ foo ] unit-test TRAITS: quux M: quux foo "foo" swap hash ;M [ "Hi" ] [ [ "Hi" "foo" set ] extend foo ] unit-test