diff --git a/decode.rkt b/decode.rkt index 0eaf826..bd79554 100644 --- a/decode.rkt +++ b/decode.rkt @@ -14,6 +14,7 @@ [(number? x) (number->string x)] [(path? x) (path->string x)] [(char? x) (format "~a" x)] + [(void? x) ""] ;; todo: guard against weird shit like lists of procedures [(or (list? x) (hash? x) (vector? x)) (format "~v" x)] ; ok to convert datatypes [else (error)])))) ; but things like procedures should throw an error