sylwester wrote:A) only curlies in place of parenthesis everywhere?
B) mixed curlies and parenthsis?
JamesF wrote:Just spinning my wheels here, what about defining a type or class that's instantiated when the reader encounters curly-braces, possibly a subclass/subtype of list, and specialising print-object on that type/class?
(set-pprint-dispatch '(cons t t)
#'(lambda (s input) (format s "{~{~s~^ ~}}" input)))Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests