summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2024-04-17 13:47:12 +0200
committertv <tv@krebsco.de>2024-04-17 13:47:12 +0200
commit05aafd5140187af7157b2c02629f061f3e7404a8 (patch)
tree151c5b6644306d92b55ea3b20ec9218c7da9f166
parent71b964a7c095ecf981e74d6bb4557de36142e8da (diff)
lib.compose: fix documentation
-rw-r--r--lib/pure.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure.nix b/lib/pure.nix
index 3fe51cd..5d4b96b 100644
--- a/lib/pure.nix
+++ b/lib/pure.nix
@@ -31,7 +31,7 @@ let
uri = import ./uri.nix { inherit (stockholm) lib; };
xml = import ./xml.nix { inherit (stockholm) lib; };
- # compose a list of functions to be applied from left to right, i.e.
+ # compose a list of functions to be applied from right to left, i.e.
# compose :: [ (xm -> xn) ... (x1 -> x2) (x0 -> x1) ] -> x0 -> xn
compose = foldl' (f: g: x: f (g x)) id;