Megatest

serialize-env.scm at [c7a72a6211]
Login

File serialize-env.scm artifact e0a42785e8 part of check-in c7a72a6211


(use z3)
(use base64)

(let* ((env-str        (with-output-to-string (lambda () (pp (get-environment-variables)))))
       (zipped-env-str (z3:encode-buffer env-str))
       (b64-env-str    (base64-encode zipped-env-str)))
  (print b64-env-str))