hashtables.wrapped: adding prettyprint vocab.
parent
dd01a148e2
commit
64da6fe426
|
@ -0,0 +1,16 @@
|
||||||
|
! Copyright (C) 2011 John Benediktsson
|
||||||
|
! See http://factorcode.org/license.txt for BSD license
|
||||||
|
|
||||||
|
USING: assocs continuations hashtables.wrapped kernel
|
||||||
|
namespaces prettyprint.backend prettyprint.config
|
||||||
|
prettyprint.custom ;
|
||||||
|
|
||||||
|
IN: hashtables.wrapped.prettyprint
|
||||||
|
|
||||||
|
M: wrapped-hashtable >pprint-sequence >alist ;
|
||||||
|
|
||||||
|
M: wrapped-hashtable pprint*
|
||||||
|
nesting-limit inc
|
||||||
|
[ pprint-object ] [ nesting-limit dec ] [ ] cleanup ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue