What is Nostr?
Andrew Tropin /
npub1dg6…vtnu
2023-08-29 05:34:57

Andrew Tropin on Nostr: The best way to get all available stuff from textual port I found so far is: (define ...

The best way to get all available stuff from textual port I found so far is:
(define (read-all-chars-as-string port)
(let loop ((chars '()))
(if (char-ready? port)
(loop (cons (read-char port) chars))
(reverse-list->string chars))))

#scheme #guile #lisp
Author Public Key
npub1dg643nc4ummjgwp77gxrsht940u274xj977hl8r43ldxrgyr2lks32vtnu