Get and set current directory
Lassi Kortela 21 Jul 2019 12:26 UTC
> (set-current-directory! string)
This has two problems:
- (get-current-directory) always returns an absolute pathname, but
(set-current-directory!) can also take a relative pathname and turn it
absolute. As a general convention, are get and set! procedures supposed
to work so that a get following a set will always get the same value
that was given to set?
- The bang ! is for mutable variables, but not necessarily for things
that mutate the environment in other ways?