diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/trivial.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/trivial.nix b/lib/trivial.nix index 575aaf6a7ad4b..c68bac902e913 100644 --- a/lib/trivial.nix +++ b/lib/trivial.nix @@ -61,11 +61,11 @@ rec { pipe = val: functions: let reverseApply = x: f: f x; in builtins.foldl' reverseApply val functions; - /* note please don’t add a function like `compose = flip pipe`. - This would confuse users, because the order of the functions - in the list is not clear. With pipe, it’s obvious that it - goes first-to-last. With `compose`, not so much. - */ + + # note please don’t add a function like `compose = flip pipe`. + # This would confuse users, because the order of the functions + # in the list is not clear. With pipe, it’s obvious that it + # goes first-to-last. With `compose`, not so much. ## Named versions corresponding to some builtin operators. |