Ludovic Courtès schreef op do 06-01-2022 om 11:13 [+0100]: > That #:serializer would have a default value, probably “none”, but no > “auto-detection” as this amount of guessing would make for a fragile > interface IMO. The auto-detection could be put into a separate procedure (define (guess-nar-or-none-serializer file) ; to be renamed (if directory? 'nar 'none)) so that 'file-hash*' is not fragile, but auto-detection can still happen if explicitely asked for: (file-hash* file #:serializer (guess-nar-or-serializer file)) WDYT?