Merge pull request #58537 from matthiasbeyer/alias-map

lib: lists: Alias map = builtins.map
This commit is contained in:
Silvan Mosberger 2019-03-29 15:35:46 +01:00 committed by GitHub
commit 84067b7ef1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ let
in
rec {
inherit (builtins) head tail length isList elemAt concatLists filter elem genList;
inherit (builtins) head tail length isList elemAt concatLists filter elem genList map;
/* Create a list consisting of a single element. `singleton x` is
sometimes more convenient with respect to indentation than `[x]`