GNU bug report logs -
#43183
[PATCH] gnu: Add loko-scheme.
Previous Next
Reported by: Martin Becze <mjbecze <at> riseup.net>
Date: Thu, 3 Sep 2020 15:04:02 UTC
Severity: normal
Tags: patch
Done: Mathieu Othacehe <othacehe <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #38 received at 43183 <at> debbugs.gnu.org (full text, mbox):
Hey Martin,
Thanks for the v2!
> + (define (mv dst)
I'm not sure it's useful to define a procedure here, as it will only be
called once.
> + (define (target file)
> + (string-append dst "/" file))
> + (define files (cddr (scandir ".")))
We try to avoid car, cdr & friends. You can use:
--8<---------------cut here---------------start------------->8---
(scandir dir (negate (cut member <> '("." ".."))))
--8<---------------cut here---------------end--------------->8---
instead.
> + (description
> + "This is an R6RS library for working with packed byte structures. It is
> +similar to struct in Python or pack and unpack in Perl.")
> + (license license:expat)))
Make sure to use the correct indentation, using Emacs or indent-code.el
script.
Also, the order of the patchset is not correct. The patch adding
"loko-scheme" should be the last one, as it depends on the other ones,
and won't build without them.
Could you send an updated version :) ?
Thanks,
Mathieu
This bug report was last modified 4 years and 255 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.