Skip to content

Commit f148e91

Browse files
committed
Fix formatting of binary numbers in Dupe notes.
1 parent 6d84e5f commit f148e91

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

www/notes/dupe.scrbl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,8 @@ to represent the value itself, either true, false, or some integer.
282282
(typeset-code #:block? #f #:indent 0
283283
(string-append "#b"
284284
(~a (number->string i 2)
285-
#:pad-string "0"
285+
#:left-pad-string "0"
286+
#:align 'right
286287
#:min-width len))))
287288

288289
Let's use the least significant bit to indicate the type and

0 commit comments

Comments
 (0)