prettyprint-docs: fix the slot accessors in a code example

windows-drag
Alexander Iljin 2019-03-25 00:30:40 +01:00 committed by John Benediktsson
parent 2bb6e58eb0
commit ea4f061461
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ ARTICLE: "prettyprint-literal" "Literal prettyprinting protocol"
"However, we can define three methods easily enough:"
{ $code
"M: rect pprint-delims drop \\ RECT[ \\ ] ;"
"M: rect >pprint-sequence dup rect-w \\ * rot rect-h 3array ;"
"M: rect >pprint-sequence dup w>> \\ * rot h>> 3array ;"
"M: rect pprint* pprint-object ;"
}
"Now, it will be printed in a custom way:"