aboutsummaryrefslogtreecommitdiff
path: root/nix/libstore
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-06-25 15:33:58 +0200
committerLudovic Courtès <ludo@gnu.org>2018-12-19 23:52:24 +0100
commitb334674fe5e99209e4f726e0d692ffa6bab9d6a1 (patch)
tree7c60a860deb01f6456eba2fdb8bc44c8a51ec564 /nix/libstore
parent73b0ebdd5e3bdda378d354e7388a56dd33da6225 (diff)
downloadpatches-b334674fe5e99209e4f726e0d692ffa6bab9d6a1.tar
patches-b334674fe5e99209e4f726e0d692ffa6bab9d6a1.tar.gz
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 'nix/libstore')
0 files changed, 0 insertions, 0 deletions