Hi,
Maxime Devos skribis:
> computed-file-name, local-file-name, package-name ... I don't think
> there's some generic procedure for this.
IWBN to address that and have a generic procedure, somehow.
Ludo’.
Hi Justin
Am Freitag, dem 01.04.2022 um 16:29 -0400 schrieb Justin Veilleux:
> Hi everyone. I'm currently writing a set of helper functions
> (usually written using `computed-file` which act on file like
> objects to transform them in some way.
> For instance, I have a `decompress` function whic
Justin Veilleux schreef op vr 01-04-2022 om 16:29 [-0400]:
> (define (unzip f)
> (computed-file (string-append (name f) "-unzipped")
> #~(begin
> (system* (string-append #$unzip "/bin/unzip")
(unrelated) you can do #+(file-append unzip "/bin/unzip") here. The
'file-append' is not ve
Hi everyone. I'm currently writing a set of helper functions (usually
written using `computed-file` which act on file like objects to
transform them in some way.
For instance, I have a `decompress` function which, given a file-like
object pointing to an archive, will return a computed file obje