diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-06-25 15:33:58 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-12-19 23:52:24 +0100 |
commit | b334674fe5e99209e4f726e0d692ffa6bab9d6a1 (patch) | |
tree | 7c60a860deb01f6456eba2fdb8bc44c8a51ec564 /Makefile.am | |
parent | 73b0ebdd5e3bdda378d354e7388a56dd33da6225 (diff) | |
download | guix-b334674fe5e99209e4f726e0d692ffa6bab9d6a1.tar.gz guix-b334674fe5e99209e4f726e0d692ffa6bab9d6a1.zip |
Use 'mapm' instead of 'sequence' + 'map'.
Previously we'd use the (sequence M (map P L)) idiom just because 'mapm'
was slower (not specialized for the given monad). This is no longer the
case since commit dcb95c1fc936d74dfdf84b7e59eff66cb99c5a63.
* guix/gexp.scm (lower-inputs): Use (mapm M P L) instead of (sequence
M (map P L)).
(lower-references, gexp->sexp, imported-files): Likewise.
* guix/profiles.scm (profile-derivation): Likewise.
* guix/scripts/environment.scm (inputs->requisites): Likewise.
* guix/scripts/system.scm (copy-closure): Likewise.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions