nix/doc/manual/utils.nix

8 lines
116 B
Nix
Raw Normal View History

2020-09-16 12:55:24 +00:00
with builtins;
{
splitLines = s: filter (x: !isList x) (split "\n" s);
concatStrings = concatStringsSep "";
}