[ ] [ link-test "link" set-value ] unit-test
[ "<a href='http://www.apple.com/foo&bar'><Link Title></a>" ] [
- [ "link" link render ] with-string-writer
+ [ "link" link new render ] with-string-writer
] unit-test
[ ] [
: pprint-; ( -- ) \ ; pprint-word ;
-: (see) ( spec -- )
+M: object see
[
12 nesting-limit set
100 length-limit set
<block dup definition pprint-elements block>
dup definer nip [ pprint-word ] when* declarations.
block>
- ] with-scope ;
-
-M: object see
- [ (see) ] with-use nl ;
+ ] with-use nl ;
GENERIC: see-class* ( word -- )
dup class? over symbol? not and [
nl
] when
- dup class? over symbol? and not [
- [ dup (see) ] with-use nl
- ] when
- drop ;
+ dup [ class? ] [ symbol? ] bi and
+ [ drop ] [ call-next-method ] if ;
: see-all ( seq -- )
natural-sort [ nl ] [ see ] interleave ;