summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSkyler <skyler3665@gmail.com>2022-08-20 23:58:57 +0100
committerGitHub <noreply@github.com>2022-08-20 23:58:57 +0100
commitd61bc96d16ca288c69b798b8e31eca64050098e3 (patch)
tree349df53dafded7ba61fa9468a1be99e0f3df44ff /lib
parentd1710ae7536662b01bfaf691c5f12f27da3d63af (diff)
Fix a typo in the lib.foldr docstring
- This quote mark should be a backtick - Using a quote mark instead of a backtick breaks formatting when rendering the docs
Diffstat (limited to 'lib')
-rw-r--r--lib/lists.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lists.nix b/lib/lists.nix
index 36056e18065e..602b13cf69cf 100644
--- a/lib/lists.nix
+++ b/lib/lists.nix
@@ -36,7 +36,7 @@ rec {
forEach = xs: f: map f xs;
/* “right fold” a binary function `op` between successive elements of
- `list` with `nul' as the starting value, i.e.,
+ `list` with `nul` as the starting value, i.e.,
`foldr op nul [x_1 x_2 ... x_n] == op x_1 (op x_2 ... (op x_n nul))`.
Type: foldr :: (a -> b -> b) -> b -> [a] -> b