Ludovic Courtès (2015-10-27 23:18 +0300) wrote: > Alex Kost <alez...@gmail.com> skribis: > >> From 4a5132f171dfe6bac99661e75e7c5e53c4f74116 Mon Sep 17 00:00:00 2001 >> From: Alex Kost <alez...@gmail.com> >> Date: Tue, 27 Oct 2015 21:13:05 +0300 >> Subject: [PATCH] refresh: Support comma separated updater types. >> >> * guix/scripts/refresh.scm (%options): Handle comma separated types for >> '--type' option. >> (guix-refresh): Adjust accordingly. >> (show-help): Likewise. >> * doc/guix.texi (Invoking guix refresh): Document it. > > [...] > >> + (let ((names (map string->symbol (string-split arg #\,)))) > > I prefer ‘string-tokenize’, which is standard, even though it’s more > verbose.
OK. Do you mean that ‘string-split’ is non-standard? Why? >> + (lists >> + (apply append lists)))) > > Rather: (concatenate lists). Thanks, I didn't know about 'concatenate'. > OK with these changes. Thanks, pushed. -- Alex