fixed default value of parameter
svn: r6234
This commit is contained in:
parent
c481e1bb59
commit
3d4f153275
|
@ -78,7 +78,7 @@
|
|||
symbols like-symbols)
|
||||
(make-pretty-print-style-table new-ht))))
|
||||
|
||||
(define pretty-print-abbreviate-read-macros (make-parameter #f))
|
||||
(define pretty-print-abbreviate-read-macros (make-parameter #t))
|
||||
|
||||
(define pretty-print-current-style-table
|
||||
(make-parameter
|
||||
|
|
|
@ -73,6 +73,14 @@
|
|||
ht))
|
||||
|
||||
|
||||
(parameterize ([pretty-print-abbreviate-read-macros #f])
|
||||
(test "(quote a)" pretty-format ''a)
|
||||
(test "(quasiquote a)" pretty-format '`a)
|
||||
(test "(unquote a)" pretty-format ',a)
|
||||
(test "(unquote-splicing a)" pretty-format ',@a)
|
||||
(test "(syntax a)" pretty-format '#'a))
|
||||
|
||||
|
||||
(test "(1\n 2)" pretty-format '(1 2) 2)
|
||||
(test "(1 2)" pretty-format '(1 2) 'infinity)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user