mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
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
This commit is contained in:
parent
d1710ae753
commit
d61bc96d16
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user