From ffcf317f0d4bdf0253b1c8b3d81b852414b5ee43 Mon Sep 17 00:00:00 2001 From: gusty <1261319+gusty@users.noreply.github.com> Date: Mon, 28 Nov 2022 08:18:41 +0100 Subject: [PATCH] Revert "Removed applicative and remove functor doc and added monoid doc" This reverts commit 5084858d0ac29f15028aafb204458423333d959f. --- docsrc/content/abstraction-applicative.fsx | 1 + docsrc/content/abstraction-functor.fsx | 1 + docsrc/content/abstraction-monoid.fsx | 1 - src/FSharpPlus/Extensions/ValueTuple.fs | 2 +- 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docsrc/content/abstraction-applicative.fsx b/docsrc/content/abstraction-applicative.fsx index 29d4da0b0..4db23f5e8 100644 --- a/docsrc/content/abstraction-applicative.fsx +++ b/docsrc/content/abstraction-applicative.fsx @@ -65,6 +65,7 @@ From F# - ``Choice<'T,'U>`` - ``KeyValuePair<'Key,'T>`` - ``'Monoid * 'T`` + - ``'ValueTuple`` - ``Task<'T>`` - ``'R->'T`` - ``Expr<'T>`` diff --git a/docsrc/content/abstraction-functor.fsx b/docsrc/content/abstraction-functor.fsx index 1ffc1a06e..022620779 100644 --- a/docsrc/content/abstraction-functor.fsx +++ b/docsrc/content/abstraction-functor.fsx @@ -56,6 +56,7 @@ From F# - ``KeyValuePair<'Key,'T>`` - ``Map<'Key,'T>`` - ``'Monoid * 'T`` + - ``'ValueTuple`` - ``Task<'T>`` - ``'R->'T`` - ``Expr<'T>`` diff --git a/docsrc/content/abstraction-monoid.fsx b/docsrc/content/abstraction-monoid.fsx index d49401393..6d10b0177 100644 --- a/docsrc/content/abstraction-monoid.fsx +++ b/docsrc/content/abstraction-monoid.fsx @@ -58,7 +58,6 @@ From .Net/F# - ``Map<'T,'Monoid>`` - ``TimeSpan`` - ``Tuple<'Monoid1* ... *'MonoidN>`` - - ``ValueTuple<'Monoid1* ... *'Monoid8>`` - ``'Monoid1* ... *'MonoidN`` - ``Task<'T>`` - ``'T->'Monoid`` diff --git a/src/FSharpPlus/Extensions/ValueTuple.fs b/src/FSharpPlus/Extensions/ValueTuple.fs index d24729f55..960017aaf 100644 --- a/src/FSharpPlus/Extensions/ValueTuple.fs +++ b/src/FSharpPlus/Extensions/ValueTuple.fs @@ -1,6 +1,6 @@ namespace FSharpPlus -/// Additional operations on ValueTuple (,) +/// Additional operations on Tuple (,) [] module ValueTuple2 = let mapItem1 f (x, y) = (f x, y)