Revision 66e83e7e1aae4d038567173a3f2f2b6f72ea3c88 authored by Kristoffer Carlsson on 25 September 2023, 10:34:25 UTC, committed by GitHub on 25 September 2023, 10:34:25 UTC
This doesn't really serve any purpose to have and it gets very spammy.
1 parent 3c0d480
bin2hex.scm
(define (read-u8) (io.read *input-stream* 'uint8))
(define modulo mod)
(define display princ)
(let loop ((b (read-u8))
(i 0))
(if (not (eof-object? b))
(begin
(if (> i 0)
(display ", "))
(display "0x") (display (number->string b 16))
(if (= 0 (modulo (+ 1 i) 16))
(newline))
(loop (read-u8) (+ 1 i)))))
(newline)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...