Skip to content

Commit 135dc3c

Browse files
committed
n >= 0 in Q3
1 parent 4c80f81 commit 135dc3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

www/midterms/1.scrbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ being represented was an integer (tagged with @code[#:lang
113113

114114
An alternative approach to disambiguate types at runtime would be to
115115
represent false (@racket[#f]) as 0 (@racket[#b0]), true (@racket[#t])
116-
as 1 (@racket[#b1]), and any integer @tt{n} as @tt{n+2}, if @tt{n > 0}
116+
as 1 (@racket[#b1]), and any integer @tt{n} as @tt{n+2}, if @tt{n >= 0}
117117
and as @tt{n} if @tt{n < 0}.
118118

119119
Briefly answer the following questions:

0 commit comments

Comments
 (0)