From 05aafd5140187af7157b2c02629f061f3e7404a8 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 17 Apr 2024 13:47:12 +0200 Subject: lib.compose: fix documentation --- lib/pure.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3