Use with-variable instead of on
parent
abd4a82f9f
commit
5b636c6a2a
|
@ -39,11 +39,12 @@ M: mirror fix-slot-names
|
||||||
[ [ slot-name boa ] dip ] { } assoc-map-as ;
|
[ [ slot-name boa ] dip ] { } assoc-map-as ;
|
||||||
|
|
||||||
: (describe) ( obj assoc -- keys )
|
: (describe) ( obj assoc -- keys )
|
||||||
pprint-string-cells? on
|
t pprint-string-cells? [
|
||||||
[ summary. ] [
|
[ summary. ] [
|
||||||
dup hashtable? [ sort-unparsed-keys ] when
|
dup hashtable? [ sort-unparsed-keys ] when
|
||||||
[ fix-slot-names add-numbers simple-table. ] [ keys ] bi
|
[ fix-slot-names add-numbers simple-table. ] [ keys ] bi
|
||||||
] bi* ;
|
] bi*
|
||||||
|
] with-variable ;
|
||||||
|
|
||||||
PRIVATE>
|
PRIVATE>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue