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:
Skyler 2022-08-20 23:58:57 +01:00 committed by GitHub
parent d1710ae753
commit d61bc96d16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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