2024-05-25 15:12:56 +02:00
|
|
|
{ pkgs, ... }:
|
2024-05-23 12:08:06 +02:00
|
|
|
{
|
2024-05-25 01:01:07 +02:00
|
|
|
flatMap = (f: list: builtins.foldl' (acc: elem: acc // elem) {} (builtins.map f list));
|
|
|
|
flatMapS = (f: list: builtins.foldl' (acc: elem: acc + elem) "" (builtins.map f list));
|
2024-05-23 12:08:06 +02:00
|
|
|
}
|