factor/library/test/inspector.factor

15 lines
300 B
Factor
Raw Permalink Normal View History

2005-07-06 01:27:59 -04:00
IN: temporary
2005-08-30 03:31:20 -04:00
USING: kernel inspector math namespaces prettyprint test
sequences ;
2005-08-23 15:50:32 -04:00
V{ } clone inspector-stack set
2005-08-23 15:50:32 -04:00
2005-08-30 03:31:20 -04:00
[[ "hello" "world" ]] (inspect)
2005-07-06 01:27:59 -04:00
2005-08-30 03:31:20 -04:00
[ "hello" ] [ 0 inspector-slots get nth ] unit-test
[ "world" ] [ 1 inspector-slots get nth ] unit-test
[ 1 2 3 ] (inspect)
f (inspect)
\ + (inspect)