Update textual.scrbl
`codeblock` draws a line on the left, which we don't want for comparisons (save space).
This commit is contained in:
parent
aff9bd1ca5
commit
a531efe0d5
|
@ -30,8 +30,8 @@ your code.
|
||||||
(define (conversion f)
|
(define (conversion f)
|
||||||
(* 5/9 (- f 32)))
|
(* 5/9 (- f 32)))
|
||||||
]
|
]
|
||||||
@filebox[@tt{really bad} ;; gotta use codeblock to keep the newlines
|
@filebox[@tt{really bad} ;; gotta use codeblock0 to keep the newlines
|
||||||
@codeblock{#lang racket
|
@codeblock0{#lang racket
|
||||||
(define (conversion f)
|
(define (conversion f)
|
||||||
(* 5/9 (- f 32)
|
(* 5/9 (- f 32)
|
||||||
)
|
)
|
||||||
|
@ -55,8 +55,8 @@ end of long sequences, be those definitions or pieces of data.
|
||||||
step
|
step
|
||||||
))
|
))
|
||||||
]
|
]
|
||||||
@filebox[@tt{also acceptable} ;; use codeblock to keep the newlines
|
@filebox[@tt{also acceptable} ;; use codeblock0 to keep the newlines
|
||||||
@codeblock{#lang racket
|
@codeblock0{#lang racket
|
||||||
(define turn%
|
(define turn%
|
||||||
(class object%
|
(class object%
|
||||||
(init-field state)
|
(init-field state)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user