From 2618752e9b65b7dd2b03e498ff7f5a03eacc72b0 Mon Sep 17 00:00:00 2001 From: Gene Pasquet Date: Wed, 4 Dec 2024 23:36:24 +0000 Subject: Fully working deepenv! --- dispenv.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 dispenv.scm (limited to 'dispenv.scm') diff --git a/dispenv.scm b/dispenv.scm new file mode 100644 index 0000000..fb6ed68 --- /dev/null +++ b/dispenv.scm @@ -0,0 +1,10 @@ +(import scheme + (chicken format) + (chicken process-context) + srfi-1) + +(define (print-env env-cons) + (printf "~a=~a~%" (car env-cons) (cdr env-cons))) + +(let ((env-vars (get-environment-variables))) + (for-each print-env env-vars)) -- cgit v1.2.3