diff --git a/docsrc/content/abstraction-alternative.fsx b/docsrc/content/abstraction-alternative.fsx index e72041d5f..afe228443 100644 --- a/docsrc/content/abstraction-alternative.fsx +++ b/docsrc/content/abstraction-alternative.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Alternative diff --git a/docsrc/content/abstraction-applicative.fsx b/docsrc/content/abstraction-applicative.fsx index 3758b575f..f88534077 100644 --- a/docsrc/content/abstraction-applicative.fsx +++ b/docsrc/content/abstraction-applicative.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Applicative diff --git a/docsrc/content/abstraction-bifoldable.fsx b/docsrc/content/abstraction-bifoldable.fsx index 3d8fb12e0..37ce6f36a 100644 --- a/docsrc/content/abstraction-bifoldable.fsx +++ b/docsrc/content/abstraction-bifoldable.fsx @@ -94,7 +94,7 @@ Examples -------- *) -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" open FSharpPlus open FSharpPlus.Control diff --git a/docsrc/content/abstraction-bifunctor.fsx b/docsrc/content/abstraction-bifunctor.fsx index 7863e501e..d50e49107 100644 --- a/docsrc/content/abstraction-bifunctor.fsx +++ b/docsrc/content/abstraction-bifunctor.fsx @@ -2,7 +2,7 @@ // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Bifunctor ======= diff --git a/docsrc/content/abstraction-bitraversable.fsx b/docsrc/content/abstraction-bitraversable.fsx index f41a72897..451669a91 100644 --- a/docsrc/content/abstraction-bitraversable.fsx +++ b/docsrc/content/abstraction-bitraversable.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Bitraversable diff --git a/docsrc/content/abstraction-comonad.fsx b/docsrc/content/abstraction-comonad.fsx index 2a18d3164..a5492bb4e 100644 --- a/docsrc/content/abstraction-comonad.fsx +++ b/docsrc/content/abstraction-comonad.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Comonad diff --git a/docsrc/content/abstraction-contravariant.fsx b/docsrc/content/abstraction-contravariant.fsx index 1932bc072..25b65ed94 100644 --- a/docsrc/content/abstraction-contravariant.fsx +++ b/docsrc/content/abstraction-contravariant.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Contravariant diff --git a/docsrc/content/abstraction-foldable.fsx b/docsrc/content/abstraction-foldable.fsx index 0dfd35df1..a7dfe0c1e 100644 --- a/docsrc/content/abstraction-foldable.fsx +++ b/docsrc/content/abstraction-foldable.fsx @@ -81,7 +81,7 @@ Examples -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" open FSharpPlus open FSharpPlus.Data diff --git a/docsrc/content/abstraction-functor.fsx b/docsrc/content/abstraction-functor.fsx index 4bd0e7671..b41e8a0b6 100644 --- a/docsrc/content/abstraction-functor.fsx +++ b/docsrc/content/abstraction-functor.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Functor diff --git a/docsrc/content/abstraction-misc.fsx b/docsrc/content/abstraction-misc.fsx index 21c1d1ad4..3762f3acd 100644 --- a/docsrc/content/abstraction-misc.fsx +++ b/docsrc/content/abstraction-misc.fsx @@ -16,7 +16,7 @@ Here are some other abstractions, not present in the diagram. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" open System open FSharpPlus diff --git a/docsrc/content/abstraction-monad.fsx b/docsrc/content/abstraction-monad.fsx index eb1fce5ad..113f54e7d 100644 --- a/docsrc/content/abstraction-monad.fsx +++ b/docsrc/content/abstraction-monad.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Monad diff --git a/docsrc/content/abstraction-monoid.fsx b/docsrc/content/abstraction-monoid.fsx index 45c0088bd..e79d881a9 100644 --- a/docsrc/content/abstraction-monoid.fsx +++ b/docsrc/content/abstraction-monoid.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Monoid diff --git a/docsrc/content/abstraction-profunctor.fsx b/docsrc/content/abstraction-profunctor.fsx index e8ac497ca..625273574 100644 --- a/docsrc/content/abstraction-profunctor.fsx +++ b/docsrc/content/abstraction-profunctor.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Profunctor diff --git a/docsrc/content/abstraction-traversable.fsx b/docsrc/content/abstraction-traversable.fsx index b6441d6a4..53b6856c6 100644 --- a/docsrc/content/abstraction-traversable.fsx +++ b/docsrc/content/abstraction-traversable.fsx @@ -2,7 +2,7 @@ // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Traversable diff --git a/docsrc/content/abstraction-zipapplicative.fsx b/docsrc/content/abstraction-zipapplicative.fsx index 6a5dde11b..c4fbed33d 100644 --- a/docsrc/content/abstraction-zipapplicative.fsx +++ b/docsrc/content/abstraction-zipapplicative.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Zip Applicative (aka Non-sequential Applicative) diff --git a/docsrc/content/applicative-functors.fsx b/docsrc/content/applicative-functors.fsx index 3252bc7c9..8dd85e8a6 100644 --- a/docsrc/content/applicative-functors.fsx +++ b/docsrc/content/applicative-functors.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Functors and Applicatives diff --git a/docsrc/content/computation-expressions.fsx b/docsrc/content/computation-expressions.fsx index d34684df9..35d98f432 100644 --- a/docsrc/content/computation-expressions.fsx +++ b/docsrc/content/computation-expressions.fsx @@ -2,7 +2,7 @@ // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" open FSharpPlus open FSharpPlus.Data diff --git a/docsrc/content/extension-methods.fsx b/docsrc/content/extension-methods.fsx index 68c363d9d..08215fa9d 100644 --- a/docsrc/content/extension-methods.fsx +++ b/docsrc/content/extension-methods.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" open FSharpPlus (** diff --git a/docsrc/content/extensions.fsx b/docsrc/content/extensions.fsx index 6ed266d50..afd5b22e0 100644 --- a/docsrc/content/extensions.fsx +++ b/docsrc/content/extensions.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Extensions diff --git a/docsrc/content/generic-doc.fsx b/docsrc/content/generic-doc.fsx index 9dfeece0c..8b8c0f615 100644 --- a/docsrc/content/generic-doc.fsx +++ b/docsrc/content/generic-doc.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" open FSharpPlus (** diff --git a/docsrc/content/index.fsx b/docsrc/content/index.fsx index ce5baf743..4ac722b02 100644 --- a/docsrc/content/index.fsx +++ b/docsrc/content/index.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** FSharpPlus diff --git a/docsrc/content/lens.fsx b/docsrc/content/lens.fsx index 37c3815ef..b8d0f74bc 100644 --- a/docsrc/content/lens.fsx +++ b/docsrc/content/lens.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Lens diff --git a/docsrc/content/numerics.fsx b/docsrc/content/numerics.fsx index 8fdacae31..819eb05a7 100644 --- a/docsrc/content/numerics.fsx +++ b/docsrc/content/numerics.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" open FSharpPlus (** diff --git a/docsrc/content/operators-common.fsx b/docsrc/content/operators-common.fsx index f309e5996..d405e8892 100644 --- a/docsrc/content/operators-common.fsx +++ b/docsrc/content/operators-common.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" open FSharpPlus (** diff --git a/docsrc/content/parsing.fsx b/docsrc/content/parsing.fsx index 09d7aa09d..249d4f3e6 100644 --- a/docsrc/content/parsing.fsx +++ b/docsrc/content/parsing.fsx @@ -2,7 +2,7 @@ // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. open System -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" open FSharpPlus (** # Parsing diff --git a/docsrc/content/tutorial.fsx b/docsrc/content/tutorial.fsx index 9536d204d..7c0527eae 100644 --- a/docsrc/content/tutorial.fsx +++ b/docsrc/content/tutorial.fsx @@ -2,7 +2,7 @@ // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Introducing FSharpPlus diff --git a/docsrc/content/type-all.fsx b/docsrc/content/type-all.fsx index c9e96f19f..d0439faa9 100644 --- a/docsrc/content/type-all.fsx +++ b/docsrc/content/type-all.fsx @@ -2,7 +2,7 @@ // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** All diff --git a/docsrc/content/type-any.fsx b/docsrc/content/type-any.fsx index efdc9e7d6..fbb4763a8 100644 --- a/docsrc/content/type-any.fsx +++ b/docsrc/content/type-any.fsx @@ -2,7 +2,7 @@ // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Any diff --git a/docsrc/content/type-choicet.fsx b/docsrc/content/type-choicet.fsx index 9eb6099f0..243da2a1d 100644 --- a/docsrc/content/type-choicet.fsx +++ b/docsrc/content/type-choicet.fsx @@ -10,6 +10,6 @@ Examples *) -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" open FSharpPlus \ No newline at end of file diff --git a/docsrc/content/type-compose.fsx b/docsrc/content/type-compose.fsx index 674a7e4a4..5f8906259 100644 --- a/docsrc/content/type-compose.fsx +++ b/docsrc/content/type-compose.fsx @@ -2,7 +2,7 @@ // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Compose diff --git a/docsrc/content/type-const.fsx b/docsrc/content/type-const.fsx index d908c9753..806a0d871 100644 --- a/docsrc/content/type-const.fsx +++ b/docsrc/content/type-const.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Const<'T,'U> ============ diff --git a/docsrc/content/type-cont.fsx b/docsrc/content/type-cont.fsx index 9ab3b3669..fe5adf0d7 100644 --- a/docsrc/content/type-cont.fsx +++ b/docsrc/content/type-cont.fsx @@ -2,7 +2,7 @@ // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Cont<'R,'U> diff --git a/docsrc/content/type-contt.fsx b/docsrc/content/type-contt.fsx index 549fe4532..d37a32257 100644 --- a/docsrc/content/type-contt.fsx +++ b/docsrc/content/type-contt.fsx @@ -2,7 +2,7 @@ // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** TO-DO Add some docs here ! diff --git a/docsrc/content/type-coproduct.fsx b/docsrc/content/type-coproduct.fsx index 438e6b391..b30b7cc9f 100644 --- a/docsrc/content/type-coproduct.fsx +++ b/docsrc/content/type-coproduct.fsx @@ -2,7 +2,7 @@ // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** TO-DO Add some docs here ! diff --git a/docsrc/content/type-dlist.fsx b/docsrc/content/type-dlist.fsx index 23c946ac6..8c66e8e9b 100644 --- a/docsrc/content/type-dlist.fsx +++ b/docsrc/content/type-dlist.fsx @@ -2,7 +2,7 @@ // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** DList diff --git a/docsrc/content/type-dual.fsx b/docsrc/content/type-dual.fsx index c0fd33567..cc5ad49c0 100644 --- a/docsrc/content/type-dual.fsx +++ b/docsrc/content/type-dual.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** TO-DO Add some docs here ! ========================= diff --git a/docsrc/content/type-endo.fsx b/docsrc/content/type-endo.fsx index c0fd33567..cc5ad49c0 100644 --- a/docsrc/content/type-endo.fsx +++ b/docsrc/content/type-endo.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** TO-DO Add some docs here ! ========================= diff --git a/docsrc/content/type-first.fsx b/docsrc/content/type-first.fsx index c0fd33567..cc5ad49c0 100644 --- a/docsrc/content/type-first.fsx +++ b/docsrc/content/type-first.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** TO-DO Add some docs here ! ========================= diff --git a/docsrc/content/type-free.fsx b/docsrc/content/type-free.fsx index c886aff5d..75b029829 100644 --- a/docsrc/content/type-free.fsx +++ b/docsrc/content/type-free.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Free<'Functor<'T>, 'T> ====================== diff --git a/docsrc/content/type-identity.fsx b/docsrc/content/type-identity.fsx index c0fd33567..cc5ad49c0 100644 --- a/docsrc/content/type-identity.fsx +++ b/docsrc/content/type-identity.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** TO-DO Add some docs here ! ========================= diff --git a/docsrc/content/type-kleisli.fsx b/docsrc/content/type-kleisli.fsx index c0fd33567..cc5ad49c0 100644 --- a/docsrc/content/type-kleisli.fsx +++ b/docsrc/content/type-kleisli.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** TO-DO Add some docs here ! ========================= diff --git a/docsrc/content/type-last.fsx b/docsrc/content/type-last.fsx index c0fd33567..cc5ad49c0 100644 --- a/docsrc/content/type-last.fsx +++ b/docsrc/content/type-last.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** TO-DO Add some docs here ! ========================= diff --git a/docsrc/content/type-listt.fsx b/docsrc/content/type-listt.fsx index c0fd33567..cc5ad49c0 100644 --- a/docsrc/content/type-listt.fsx +++ b/docsrc/content/type-listt.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** TO-DO Add some docs here ! ========================= diff --git a/docsrc/content/type-matrix.fsx b/docsrc/content/type-matrix.fsx index 76f3d6461..d578a5290 100644 --- a/docsrc/content/type-matrix.fsx +++ b/docsrc/content/type-matrix.fsx @@ -1,8 +1,8 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" -#r @"../../src/FSharpPlus.TypeLevel/bin/Release/netstandard2.0/FSharpPlus.TypeLevel.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus.TypeLevel/bin/Release/net8.0/FSharpPlus.TypeLevel.dll" (** Matrix<'NumType,'Rows,'Cols> diff --git a/docsrc/content/type-mult.fsx b/docsrc/content/type-mult.fsx index 9eb6099f0..243da2a1d 100644 --- a/docsrc/content/type-mult.fsx +++ b/docsrc/content/type-mult.fsx @@ -10,6 +10,6 @@ Examples *) -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" open FSharpPlus \ No newline at end of file diff --git a/docsrc/content/type-nonempty-map.fsx b/docsrc/content/type-nonempty-map.fsx index 53c4bc450..3c9aa0150 100644 --- a/docsrc/content/type-nonempty-map.fsx +++ b/docsrc/content/type-nonempty-map.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** NonEmptyMap<'Key, 'Value> ================ diff --git a/docsrc/content/type-nonempty-set.fsx b/docsrc/content/type-nonempty-set.fsx index 0bd1365f2..f55b2e030 100644 --- a/docsrc/content/type-nonempty-set.fsx +++ b/docsrc/content/type-nonempty-set.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** NonEmptySet<'T> ================ diff --git a/docsrc/content/type-nonempty.fsx b/docsrc/content/type-nonempty.fsx index ddfcd2d64..c5df3f06a 100644 --- a/docsrc/content/type-nonempty.fsx +++ b/docsrc/content/type-nonempty.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** NonEmptyList<'T> ================ diff --git a/docsrc/content/type-optiont.fsx b/docsrc/content/type-optiont.fsx index c0fd33567..cc5ad49c0 100644 --- a/docsrc/content/type-optiont.fsx +++ b/docsrc/content/type-optiont.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** TO-DO Add some docs here ! ========================= diff --git a/docsrc/content/type-parallelarray.fsx b/docsrc/content/type-parallelarray.fsx index 8eeb15681..68f44e5dc 100644 --- a/docsrc/content/type-parallelarray.fsx +++ b/docsrc/content/type-parallelarray.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** ParallelArray<'T> ================= diff --git a/docsrc/content/type-reader.fsx b/docsrc/content/type-reader.fsx index 5e516eba3..3cc910130 100644 --- a/docsrc/content/type-reader.fsx +++ b/docsrc/content/type-reader.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Reader<'R,'T> ============= diff --git a/docsrc/content/type-readert.fsx b/docsrc/content/type-readert.fsx index b6da36f54..65153b41d 100644 --- a/docsrc/content/type-readert.fsx +++ b/docsrc/content/type-readert.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** TO-DO Add some docs here ! ========================= diff --git a/docsrc/content/type-resultt.fsx b/docsrc/content/type-resultt.fsx index c0fd33567..cc5ad49c0 100644 --- a/docsrc/content/type-resultt.fsx +++ b/docsrc/content/type-resultt.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** TO-DO Add some docs here ! ========================= diff --git a/docsrc/content/type-seqt.fsx b/docsrc/content/type-seqt.fsx index e004f249a..e316986fc 100644 --- a/docsrc/content/type-seqt.fsx +++ b/docsrc/content/type-seqt.fsx @@ -2,7 +2,7 @@ // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" // For some reason AsyncDownloadString is not found during doc build. The following is a dumb implementation just to make the compiler happy. // TODO find out why. diff --git a/docsrc/content/type-state.fsx b/docsrc/content/type-state.fsx index e47190152..834d39739 100644 --- a/docsrc/content/type-state.fsx +++ b/docsrc/content/type-state.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** State<'S,'T> ============ diff --git a/docsrc/content/type-statet.fsx b/docsrc/content/type-statet.fsx index 9eb6099f0..243da2a1d 100644 --- a/docsrc/content/type-statet.fsx +++ b/docsrc/content/type-statet.fsx @@ -10,6 +10,6 @@ Examples *) -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" open FSharpPlus \ No newline at end of file diff --git a/docsrc/content/type-validation.fsx b/docsrc/content/type-validation.fsx index 3e0738849..5b8725415 100644 --- a/docsrc/content/type-validation.fsx +++ b/docsrc/content/type-validation.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Validation<'Error, 'T> ====================== diff --git a/docsrc/content/type-valueoptiont.fsx b/docsrc/content/type-valueoptiont.fsx index c0fd33567..cc5ad49c0 100644 --- a/docsrc/content/type-valueoptiont.fsx +++ b/docsrc/content/type-valueoptiont.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** TO-DO Add some docs here ! ========================= diff --git a/docsrc/content/type-vector.fsx b/docsrc/content/type-vector.fsx index 8c8ce7184..b9187c799 100644 --- a/docsrc/content/type-vector.fsx +++ b/docsrc/content/type-vector.fsx @@ -1,8 +1,8 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" -#r @"../../src/FSharpPlus.TypeLevel/bin/Release/netstandard2.0/FSharpPlus.TypeLevel.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus.TypeLevel/bin/Release/net8.0/FSharpPlus.TypeLevel.dll" (** Vector<'NumType,'Dimension> diff --git a/docsrc/content/type-writer.fsx b/docsrc/content/type-writer.fsx index 76513a840..ece06d5eb 100644 --- a/docsrc/content/type-writer.fsx +++ b/docsrc/content/type-writer.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** Writer<'Monoid,'T> ================== diff --git a/docsrc/content/type-writert.fsx b/docsrc/content/type-writert.fsx index 9eb6099f0..243da2a1d 100644 --- a/docsrc/content/type-writert.fsx +++ b/docsrc/content/type-writert.fsx @@ -10,6 +10,6 @@ Examples *) -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" open FSharpPlus \ No newline at end of file diff --git a/docsrc/content/type-ziplist.fsx b/docsrc/content/type-ziplist.fsx index 2b0e29d82..f1b537bbf 100644 --- a/docsrc/content/type-ziplist.fsx +++ b/docsrc/content/type-ziplist.fsx @@ -1,7 +1,7 @@ (*** hide ***) // This block of code is omitted in the generated HTML documentation. Use // it to define helpers that you do not want to show in the documentation. -#r @"../../src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" (** ZipList<'T> =========== diff --git a/docsrc/tools/Program.fs b/docsrc/tools/Program.fs index 5e57476e6..d9121fcea 100644 --- a/docsrc/tools/Program.fs +++ b/docsrc/tools/Program.fs @@ -61,7 +61,7 @@ Target.create "Build" (fun _ -> OutputDirectory = output ProjectParameters = ("root", root)::info Projects = rootDir @@ "src/FSharpPlus/FSharpPlus.fsproj" - TargetPath = rootDir @@ "src/FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" + TargetPath = rootDir @@ "src/FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" SourceRepository = githubLink @@ "tree/master" } ) ) diff --git a/docsrc/tools/tools.fs b/docsrc/tools/tools.fs index 3a19d0f7d..f3d4a7f20 100644 --- a/docsrc/tools/tools.fs +++ b/docsrc/tools/tools.fs @@ -5,7 +5,7 @@ let () x y = IO.Path.Combine(x,y) module Path = // Paths with template/source/output locations - let bin = __SOURCE_DIRECTORY__ "../../src/FSharpPlus/bin/Release/netstandard2.0/" + let bin = __SOURCE_DIRECTORY__ "../../src/FSharpPlus/bin/Release/net8.0/" let content = __SOURCE_DIRECTORY__ "../content" let output = __SOURCE_DIRECTORY__ "../../docs" let templates = __SOURCE_DIRECTORY__ "./templates" diff --git a/src/FSharpPlus.Docs/Samples/Collections.fsx b/src/FSharpPlus.Docs/Samples/Collections.fsx index b4bc1cf49..2567acef2 100644 --- a/src/FSharpPlus.Docs/Samples/Collections.fsx +++ b/src/FSharpPlus.Docs/Samples/Collections.fsx @@ -1,5 +1,5 @@ #if INTERACTIVE -#r @"../../FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" #else module Samples.Collections #endif diff --git a/src/FSharpPlus.Docs/Samples/Conversions.fsx b/src/FSharpPlus.Docs/Samples/Conversions.fsx index c4940ca4b..012adf0b3 100644 --- a/src/FSharpPlus.Docs/Samples/Conversions.fsx +++ b/src/FSharpPlus.Docs/Samples/Conversions.fsx @@ -1,5 +1,5 @@ #if INTERACTIVE -#r @"../../FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" #else module Samples.Conversions #endif diff --git a/src/FSharpPlus.Docs/Samples/Learn You a Haskell.fsx b/src/FSharpPlus.Docs/Samples/Learn You a Haskell.fsx index a9f043aef..19f761a77 100644 --- a/src/FSharpPlus.Docs/Samples/Learn You a Haskell.fsx +++ b/src/FSharpPlus.Docs/Samples/Learn You a Haskell.fsx @@ -1,5 +1,5 @@ #if INTERACTIVE -#r @"../../FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" #else module Samples.Learn_You_a_Haskell #endif diff --git a/src/FSharpPlus.Docs/Samples/Split-Join.fsx b/src/FSharpPlus.Docs/Samples/Split-Join.fsx index b108a574f..be2e81808 100644 --- a/src/FSharpPlus.Docs/Samples/Split-Join.fsx +++ b/src/FSharpPlus.Docs/Samples/Split-Join.fsx @@ -1,5 +1,5 @@ #if INTERACTIVE -#r @"../../FSharpPlus/bin/Release/netstandard2.0/FSharpPlus.dll" +#r @"../../FSharpPlus/bin/Release/net8.0/FSharpPlus.dll" #else module Samples.SplitJoin #endif diff --git a/src/FSharpPlus/Control/Applicative.fs b/src/FSharpPlus/Control/Applicative.fs index 6454d3e49..5124498b6 100644 --- a/src/FSharpPlus/Control/Applicative.fs +++ b/src/FSharpPlus/Control/Applicative.fs @@ -28,7 +28,7 @@ type Apply = #if !FABLE_COMPILER static member ``<*>`` (struct (f: Task<_> , x: Task<'T> ), _output: Task<'U> , []_mthd: Apply) = Task.apply f x : Task<'U> #endif - #if !NETSTANDARD2_0 && !FABLE_COMPILER + #if !FABLE_COMPILER static member ``<*>`` (struct (f: ValueTask<_> , x: ValueTask<'T> ), _output: ValueTask<'U> , []_mthd: Apply) : ValueTask<'U> = ValueTask.apply f x static member ``<*>`` (struct (_: DmStruct1<_> , _: DmStruct1<'T> ), _output: DmStruct1<'U> , []_mthd: Apply) : DmStruct1<'U> = Unchecked.defaultof> #endif @@ -112,7 +112,7 @@ type Lift2 = #if !FABLE_COMPILER static member Lift2 (f, (x: Task<'T> , y: Task<'U> ), _mthd: Lift2) = Task.lift2 f x y #endif - #if !NETSTANDARD2_0 && !FABLE_COMPILER + #if !FABLE_COMPILER static member Lift2 (f, (x: ValueTask<'T> , y: ValueTask<'U> ), _mthd: Lift2) = ValueTask.lift2 f x y #endif static member Lift2 (f, (x , y ), _mthd: Lift2) = Async.lift2 f x y @@ -161,7 +161,7 @@ type Lift3 = #if !FABLE_COMPILER static member Lift3 (f, (x: Task<'T> , y: Task<'U> , z: Task<'V> ), _mthd: Lift3) = Task.lift3 f x y z #endif - #if !NETSTANDARD2_0 && !FABLE_COMPILER + #if !FABLE_COMPILER static member Lift3 (f, (x: ValueTask<'T> , y: ValueTask<'U> , z: ValueTask<'V> ), _mthd: Lift3) = ValueTask.lift3 f x y z #endif static member Lift3 (f, (x , y , z ), _mthd: Lift3) = Async.lift3 f x y z diff --git a/src/FSharpPlus/Control/Comonad.fs b/src/FSharpPlus/Control/Comonad.fs index a2e925892..e476c79f0 100644 --- a/src/FSharpPlus/Control/Comonad.fs +++ b/src/FSharpPlus/Control/Comonad.fs @@ -30,7 +30,7 @@ type Extract = #if !FABLE_COMPILER static member Extract (f: Task<'T> ) = f.Result #endif - #if !NETSTANDARD2_0 && !FABLE_COMPILER + #if !FABLE_COMPILER static member Extract (f: ValueTask<'T> ) = f.Result #endif static member inline Invoke (x: '``Comonad<'T>``) : 'T = @@ -67,7 +67,7 @@ type Extend = tcs.Task #endif - #if !NETSTANDARD2_0 && !FABLE_COMPILER + #if !FABLE_COMPILER static member (=>>) (g: ValueTask<'T> , f: ValueTask<'T> -> 'U ) : ValueTask<'U> = if g.IsCompletedSuccessfully then try diff --git a/src/FSharpPlus/Control/Functor.fs b/src/FSharpPlus/Control/Functor.fs index cef5a8ab7..545a66b45 100644 --- a/src/FSharpPlus/Control/Functor.fs +++ b/src/FSharpPlus/Control/Functor.fs @@ -68,7 +68,7 @@ type Map = #if !FABLE_COMPILER static member Map ((x: Task<'T> , f: 'T->'U), _mthd: Map) = Task.map f x : Task<'U> #endif - #if !NETSTANDARD2_0 && !FABLE_COMPILER + #if !FABLE_COMPILER static member Map ((x: ValueTask<'T> , f: 'T->'U), _mthd: Map) = ValueTask.map f x : ValueTask<'U> #endif static member Map ((x: option<_> , f: 'T->'U), _mthd: Map) = Option.map f x @@ -154,7 +154,7 @@ type Unzip = #if !FABLE_COMPILER static member Unzip ((source: Task<'T * 'U> , _output: Task<'T> * Task<'U> ) , _mthd: Unzip ) = Map.Invoke fst source, Map.Invoke snd source #endif - #if !NETSTANDARD2_0 && !FABLE_COMPILER + #if !FABLE_COMPILER static member Unzip ((source: ValueTask<'T * 'U> , _output: ValueTask<'T> * ValueTask<'U> ) , _mthd: Unzip ) = Map.Invoke fst source, Map.Invoke snd source #endif static member Unzip ((source: option<'T * 'U> , _output: option<'T> * option<'U> ) , _mthd: Unzip ) = Option.unzip source @@ -225,7 +225,7 @@ type Zip = #if !FABLE_COMPILER static member Zip ((x: Task<'T> , y: Task<'U> , _output: Task<'T*'U> ), _mthd: Zip) = Task.zip x y #endif - #if !NETSTANDARD2_0 && !FABLE_COMPILER + #if !FABLE_COMPILER static member Zip ((x: ValueTask<'T> , y: ValueTask<'U> , _output: ValueTask<'T*'U> ), _mthd: Zip) = ValueTask.zip x y #endif diff --git a/src/FSharpPlus/Control/Monad.fs b/src/FSharpPlus/Control/Monad.fs index d24a55edc..2260364ec 100644 --- a/src/FSharpPlus/Control/Monad.fs +++ b/src/FSharpPlus/Control/Monad.fs @@ -22,7 +22,7 @@ type Bind = static member (>>=) (source: Task<'T> , f: 'T -> Task<'U> ) = Task.bind f source : Task<'U> static member (>>=) (source , f: 'T -> _ ) = Nullable.bind f source : Nullable<'U> #endif - #if !NETSTANDARD2_0 && !FABLE_COMPILER + #if !FABLE_COMPILER static member (>>=) (source: ValueTask<'T> , f: 'T -> ValueTask<'U> ) = ValueTask.bind f source : ValueTask<'U> #endif @@ -83,7 +83,7 @@ type Join = #if !FABLE_COMPILER static member Join (x: Task> , []_output: Task<'T> , []_mthd: Join ) = Task.join x : Task<'T> #endif - #if !NETSTANDARD2_0 && !FABLE_COMPILER + #if !FABLE_COMPILER static member Join (x: ValueTask> , []_output: ValueTask<'T> , []_mthd: Join ) = ValueTask.join x : ValueTask<'T> #endif static member Join (x , []_output: option<'T> , []_mthd: Join ) = Option.flatten x : option<'T> @@ -144,7 +144,7 @@ type Return = #if !FABLE_COMPILER static member Return (_: 'T Task , _: Return ) = fun x -> Task.FromResult x : 'T Task #endif - #if !NETSTANDARD2_0 && !FABLE_COMPILER + #if !FABLE_COMPILER static member Return (_: 'T ValueTask , _: Return ) = fun (x: 'T) -> ValueTask<'T> x : 'T ValueTask static member Return (_: 'T DmStruct1 , _: Return ) = fun (_: 'T) -> Unchecked.defaultof<_> : 'T DmStruct1 #endif @@ -196,7 +196,7 @@ type Delay = #endif - #if !NETSTANDARD2_0 && !FABLE_COMPILER + #if !FABLE_COMPILER static member Delay (_mthd: Delay , x: unit-> ValueTask<_> , _ ) = x () : ValueTask<'T> #endif diff --git a/src/FSharpPlus/Control/Monoid.fs b/src/FSharpPlus/Control/Monoid.fs index 6964c9354..69c0d4ec2 100644 --- a/src/FSharpPlus/Control/Monoid.fs +++ b/src/FSharpPlus/Control/Monoid.fs @@ -118,7 +118,7 @@ type Plus with static member inline ``+`` (x: 'a Task, y: 'a Task, []_mthd: Plus) = Task.lift2 Plus.Invoke x y #endif -#if !NETSTANDARD2_0 && !FABLE_COMPILER +#if !FABLE_COMPILER type Plus with static member inline ``+`` (x: 'a ValueTask, y: 'a ValueTask, []_mthd: Plus) = ValueTask.lift2 Plus.Invoke x y diff --git a/src/FSharpPlus/Control/Numeric.fs b/src/FSharpPlus/Control/Numeric.fs index a0a83f448..ff300799f 100644 --- a/src/FSharpPlus/Control/Numeric.fs +++ b/src/FSharpPlus/Control/Numeric.fs @@ -193,7 +193,7 @@ type Zero with s.SetResult v s.Task #endif - #if !NETSTANDARD2_0 && !FABLE_COMPILER + #if !FABLE_COMPILER static member inline Zero (_: ValueTask<'a>, _: Zero) : ValueTask<'a> = let (v: 'a) = Zero.Invoke () ValueTask<'a>(v) diff --git a/src/FSharpPlus/Control/ZipApplicative.fs b/src/FSharpPlus/Control/ZipApplicative.fs index fa6760e71..760b68151 100644 --- a/src/FSharpPlus/Control/ZipApplicative.fs +++ b/src/FSharpPlus/Control/ZipApplicative.fs @@ -38,7 +38,7 @@ type Pure = #if !FABLE_COMPILER static member Pure (_: 'T Task , _: Pure) = fun x -> Task.FromResult x : 'T Task #endif - #if !NETSTANDARD2_0 && !FABLE_COMPILER + #if !FABLE_COMPILER static member Pure (_: 'T ValueTask , _: Pure) = fun (x: 'T) -> ValueTask<'T> x : 'T ValueTask #endif static member Pure (x: option<'a> , _: Pure) = Return.Return (x, Unchecked.defaultof) @@ -89,7 +89,7 @@ type ZipApply = #if !FABLE_COMPILER static member ``<.>`` (struct (f: Task<_> , x: Task<'T> ), []_output: Task<'U> , []_mthd: ZipApply) = Task.map2 (<|) f x #endif - #if !NETSTANDARD2_0 && !FABLE_COMPILER + #if !FABLE_COMPILER static member ``<.>`` (struct (f: ValueTask<_> , x: ValueTask<'T> ), []_output: ValueTask<'U> , []_mthd: ZipApply) = ValueTask.map2 (<|) f x #endif static member ``<.>`` (struct (f: Async<_> , x: Async<'T> ), []_output: Async<'U> , []_mthd: ZipApply) : Async<'U> = Async.map2 (<|) f x @@ -147,7 +147,7 @@ type Map2 = #if !FABLE_COMPILER static member Map2 (f, (x: Task<'T> , y: Task<'U> ), _mthd: Map2) = Task.map2 f x y #endif - #if !NETSTANDARD2_0 && !FABLE_COMPILER + #if !FABLE_COMPILER static member Map2 (f, (x: ValueTask<'T> , y: ValueTask<'U> ), _mthd: Map2) = ValueTask.map2 f x y #endif static member Map2 (f, (x , y ), _mthd: Map2) = Async.map2 f x y @@ -194,7 +194,7 @@ type Map3 = #if !FABLE_COMPILER static member Map3 (f, (x: Task<'T> , y: Task<'U> , z: Task<'V> ), _mthd: Map3) = Task.map3 f x y z #endif - #if !NETSTANDARD2_0 && !FABLE_COMPILER + #if !FABLE_COMPILER static member Map3 (f, (x: ValueTask<'T> , y: ValueTask<'U> , z: ValueTask<'V> ), _mthd: Map3) = ValueTask.map3 f x y z #endif static member Map3 (f, (x , y , z ), _mthd: Map3) = Async.map3 f x y z diff --git a/src/FSharpPlus/Extensions/AsyncEnumerable.fs b/src/FSharpPlus/Extensions/AsyncEnumerable.fs index 2c9b88b31..eea030e33 100644 --- a/src/FSharpPlus/Extensions/AsyncEnumerable.fs +++ b/src/FSharpPlus/Extensions/AsyncEnumerable.fs @@ -1,6 +1,6 @@ namespace FSharpPlus -#if !FABLE_COMPILER && (NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_0_OR_GREATER || NET5_0_OR_GREATER) +#if !FABLE_COMPILER open System open System.Threading diff --git a/src/FSharpPlus/Extensions/Extensions.fs b/src/FSharpPlus/Extensions/Extensions.fs index 15412a3d3..4bdfbb37f 100644 --- a/src/FSharpPlus/Extensions/Extensions.fs +++ b/src/FSharpPlus/Extensions/Extensions.fs @@ -70,7 +70,7 @@ module Extensions = #endif - #if !NETSTANDARD2_0 && !FABLE_COMPILER + #if !FABLE_COMPILER type ValueTask<'t> with diff --git a/src/FSharpPlus/Extensions/ValueTask.fs b/src/FSharpPlus/Extensions/ValueTask.fs index 7ce8dc9a9..cc0152070 100644 --- a/src/FSharpPlus/Extensions/ValueTask.fs +++ b/src/FSharpPlus/Extensions/ValueTask.fs @@ -1,6 +1,6 @@ namespace FSharpPlus -#if !NETSTANDARD2_0 && !FABLE_COMPILER +#if !FABLE_COMPILER /// Additional operations on ValueTask<'T> [] diff --git a/src/FSharpPlus/FSharpPlus.fsproj b/src/FSharpPlus/FSharpPlus.fsproj index 250d43932..b4b8374b4 100644 --- a/src/FSharpPlus/FSharpPlus.fsproj +++ b/src/FSharpPlus/FSharpPlus.fsproj @@ -27,7 +27,7 @@ $(DefineConstants);TEST_TRACE $(DefineConstants);FABLE_COMPILER $(DefineConstants);FABLE_COMPILER;FABLE_COMPILER_4 - netstandard2.0;netstandard2.1;net8.0 + net8.0 diff --git a/tests/CSharpLib/CSharpLib.csproj b/tests/CSharpLib/CSharpLib.csproj index 980c2d9e1..34b56a5dd 100644 --- a/tests/CSharpLib/CSharpLib.csproj +++ b/tests/CSharpLib/CSharpLib.csproj @@ -3,8 +3,7 @@ Debug;Release;Fable AnyCPU - netstandard2.1 - 8.0 + net8.0 diff --git a/tests/CSharpLib/CustomerId.cs b/tests/CSharpLib/CustomerId.cs index a32590dec..a0a1a1e3e 100644 --- a/tests/CSharpLib/CustomerId.cs +++ b/tests/CSharpLib/CustomerId.cs @@ -2,10 +2,7 @@ namespace CSharpLib { - public struct CustomerId : IEquatable -#if NETSTANDARD2_1 - ,ICustomerId -#endif + public struct CustomerId : IEquatable, ICustomerId { public long Value { get; } public CustomerId(long value) => this.Value = value; @@ -26,7 +23,6 @@ public static bool TryParse(string value,out CustomerId id) return false; } } -#if NETSTANDARD2_1 public interface ICustomerId { long Value { get; } @@ -41,5 +37,4 @@ public static bool TryParse(string value, out ICustomerId id) return false; } } -#endif } diff --git a/tests/FSharpPlus.Tests/Asyncs.fs b/tests/FSharpPlus.Tests/Asyncs.fs index ec9cabe20..653c01056 100644 --- a/tests/FSharpPlus.Tests/Asyncs.fs +++ b/tests/FSharpPlus.Tests/Asyncs.fs @@ -1,7 +1,5 @@ namespace FSharpPlus.Tests -#if !NET462 && !NETSTANDARD2_0 - module Async = open System @@ -109,4 +107,3 @@ module Async = CollectionAssert.AreEquivalent ((Async.AsTaskAndWait t123).Exception.InnerExceptions, (Async.AsTaskAndWait t123').Exception.InnerExceptions, "Async.map3 (fun x y z -> [x; y; z]) t1 t2 t3 is the same as transpose [t1; t2; t3]") CollectionAssert.AreNotEquivalent ((Async.AsTaskAndWait t123).Exception.InnerExceptions, (Async.AsTaskAndWait t123'').Exception.InnerExceptions, "Async.map3 (fun x y z -> [x; y; z]) t1 t2 t3 is not the same as sequence [t1; t2; t3]") -#endif diff --git a/tests/FSharpPlus.Tests/Parsing.fs b/tests/FSharpPlus.Tests/Parsing.fs index 45a26aead..37f0029e2 100644 --- a/tests/FSharpPlus.Tests/Parsing.fs +++ b/tests/FSharpPlus.Tests/Parsing.fs @@ -77,12 +77,10 @@ module Parsing = Assert.IsTrue((v3.Value.Value = 1)) let v4 : ProductId option = tryParse "P_X" Assert.IsTrue(Option.isNone v4) -#if NETSTANDARD3_0 let v5 : ICustomerId option = tryParse "C_1" Assert.IsTrue((v5.Value.Value = 1L)) let v6 : ICustomerId option = tryParse "C_X" Assert.IsTrue(Option.isNone v6) -#endif [] let scanfParsing () = diff --git a/tests/FSharpPlus.Tests/ValueTask.fs b/tests/FSharpPlus.Tests/ValueTask.fs index 8f71b38e6..e9a63f237 100644 --- a/tests/FSharpPlus.Tests/ValueTask.fs +++ b/tests/FSharpPlus.Tests/ValueTask.fs @@ -1,7 +1,5 @@ namespace FSharpPlus.Tests -#if !NET462 && !NETSTANDARD2_0 - module ValueTask = open System @@ -199,4 +197,3 @@ module ValueTask = let t123'' = sequence [t1; t2; t3] CollectionAssert.AreEquivalent (t123.AsTask().Exception.InnerExceptions, t123'.AsTask().Exception.InnerExceptions, "ValueTask.map3 (fun x y z -> [x; y; z]) t1 t2 t3 is the same as transpose [t1; t2; t3]") CollectionAssert.AreNotEquivalent (t123.AsTask().Exception.InnerExceptions, t123''.AsTask().Exception.InnerExceptions, "ValueTask.map3 (fun x y z -> [x; y; z]) t1 t2 t3 is not the same as sequence [t1; t2; t3]") -#endif diff --git a/tests/FSharpPlusFable.Tests/FSharpPlusFable.Tests.fsproj b/tests/FSharpPlusFable.Tests/FSharpPlusFable.Tests.fsproj index 42a7f00d0..ad1165474 100644 --- a/tests/FSharpPlusFable.Tests/FSharpPlusFable.Tests.fsproj +++ b/tests/FSharpPlusFable.Tests/FSharpPlusFable.Tests.fsproj @@ -4,10 +4,9 @@ Exe Debug;Release;Fable AnyCPU - 6.0 $(DefineConstants);FABLE_COMPILER;FABLE_COMPILER_FAKE $(DefineConstants);FABLE_COMPILER;FABLE_COMPILER_4;FABLE_COMPILER_FAKE - net6.0 + net8.0 diff --git a/tests/FSharpPlusFable.Tests/FSharpTests/General.fs b/tests/FSharpPlusFable.Tests/FSharpTests/General.fs index 4cc9851c3..8d46bec5e 100644 --- a/tests/FSharpPlusFable.Tests/FSharpTests/General.fs +++ b/tests/FSharpPlusFable.Tests/FSharpTests/General.fs @@ -122,7 +122,7 @@ let monadTransformers = testList "MonadTransformers" [ let _ = put initialState : ChoiceT>> ()) - #if !NETSTANDARD3_0 + testCase "testStateT" (fun () -> let lst1: StateT = StateT.lift [1;2] let lst2: StateT = StateT.lift [4;5] @@ -155,7 +155,6 @@ let monadTransformers = testList "MonadTransformers" [ let y = (fn |> ResultT.run |> Reader.run) -1 equal (Error NegativeValue) y) #endif - #endif ] #if !FABLE_COMPILER