From 3421eaa6933fd733bec4bb4a9c92b2c7a36c5871 Mon Sep 17 00:00:00 2001 From: Max Smirnov Date: Sat, 31 Aug 2024 20:47:45 +0300 Subject: [PATCH] Fix foldLeft nomenclature signature --- docs/nomenclature.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/nomenclature.md b/docs/nomenclature.md index eec6e1c114..961b07fb14 100644 --- a/docs/nomenclature.md +++ b/docs/nomenclature.md @@ -111,7 +111,7 @@ Like the previous section, we use the `E` for the error parameter type. | Type | Method Name | Constraints | ------------- |--------------|----------- | `F[A] => A` | `fold` | `A: Monoid` -| `F[A] => B => ((B,A) => B) => F[B]` | `foldLeft` +| `F[A] => B => ((B,A) => B) => B` | `foldLeft` | `F[A] => (A => B) => B` | `foldMap` | `B: Monoid` | `F[A] => (A => G[B]) => G[B]` | `foldMapM` | `G: Monad` and `B: Monoid` | `F[A] => (A => B) => Option[B]` | `collectFirst` | The `A => B` is a `PartialFunction`