jan tolenaar / kiezellisp / index-of-everything

Name

$print-prototype-with-braces

Usage

special-variable

Description

When true, prototypes are printed like {...} otherwise like #s(...).

make-html > (do
                (let $print-prototype-with-braces true)
                (write-line (new :a 1 :b 2)))
{ :a 1 :b 2 }

make-html > (do
                (let $print-prototype-with-braces false)
                (write-line (new :a 1 :b 2)))
#s(:a 1 :b 2)