We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5df5ad commit 81185eeCopy full SHA for 81185ee
1 file changed
ziggy/src/types.rkt
@@ -63,8 +63,8 @@
63
[else (error "invalid bits")]))
64
65
(define (value->bits v)
66
- (cond [(eq? v #t) {:> D0 H0} #b011 {:> H0} #b00011000]
67
- [(eq? v #f) {:> D0 H0} #b111 {:> H0} #b00111000]
+ (cond [(eq? v #t) {:> D0 D1} #b01 {:> D1 H0} #b011 {:> H0} #b00011000]
+ [(eq? v #f) {:> D0 D1} #b11 {:> D1 H0} #b111 {:> H0} #b00111000]
68
[(integer? v) (arithmetic-shift v int-shift)]
69
{:> E0} [(eof-object? v) {:> E0 H0} #b1011 {:> H0} #b01011000]
70
{:> E0} [(void? v) {:> E0 H0} #b1111 {:> H0} #b01111000]
0 commit comments