Welcome to the CHICKEN Scheme pasting service

blob-set-u32-{le,be}! pasted by andyjpb on Tue Feb 4 17:24:56 2020

-----
(use blob-set-int)

(define a (string->blob (make-string 32 #\Z)))
(define b (string->blob (make-string 32 #\Z)))

(equal?
 (blob-set-u32-be! a 0)
 (blob-set-u32-le! b 0))
-----

Incorrectly gives me #t.

fixed repro added by andyjpb on Tue Feb 4 18:05:24 2020

(use blob-set-int)

(define a (string->blob (make-string 32 #\Z)))
(define b (string->blob (make-string 32 #\Z)))

(blob-set-u32-be! a 0)
(blob-set-u32-le! b 0)

(equal? a b)

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which egg provides `string-pad-right'?
Visually impaired? Let me spell it for you (wav file) download WAV