diff --git a/LanguageExt.CodeGen/LanguageExt.CodeGen.csproj b/LanguageExt.CodeGen/LanguageExt.CodeGen.csproj index f0fcadea0..a0c59ec72 100644 --- a/LanguageExt.CodeGen/LanguageExt.CodeGen.csproj +++ b/LanguageExt.CodeGen/LanguageExt.CodeGen.csproj @@ -1,4 +1,4 @@ - + 3.3.18 diff --git a/LanguageExt.Core/ClassInstances/Applicative/ApplTryAsync.cs b/LanguageExt.Core/ClassInstances/Applicative/ApplTryAsync.cs index 4580cf95e..5280eaaac 100644 --- a/LanguageExt.Core/ClassInstances/Applicative/ApplTryAsync.cs +++ b/LanguageExt.Core/ClassInstances/Applicative/ApplTryAsync.cs @@ -3,6 +3,7 @@ using static LanguageExt.Prelude; using System.Diagnostics.Contracts; using System.Threading.Tasks; +using LanguageExt.Common; namespace LanguageExt.ClassInstances { diff --git a/LanguageExt.Core/ClassInstances/Applicative/ApplTryOptionAsync.cs b/LanguageExt.Core/ClassInstances/Applicative/ApplTryOptionAsync.cs index 5f2d47dd0..2c8909f94 100644 --- a/LanguageExt.Core/ClassInstances/Applicative/ApplTryOptionAsync.cs +++ b/LanguageExt.Core/ClassInstances/Applicative/ApplTryOptionAsync.cs @@ -3,6 +3,7 @@ using static LanguageExt.Prelude; using System.Diagnostics.Contracts; using System.Threading.Tasks; +using LanguageExt.Common; namespace LanguageExt.ClassInstances { diff --git a/LanguageExt.Core/ClassInstances/Eq/EqResult.cs b/LanguageExt.Core/ClassInstances/Eq/EqResult.cs index 300723ed5..3fcde55b6 100644 --- a/LanguageExt.Core/ClassInstances/Eq/EqResult.cs +++ b/LanguageExt.Core/ClassInstances/Eq/EqResult.cs @@ -1,6 +1,6 @@ - -using LanguageExt.TypeClasses; +using LanguageExt.TypeClasses; using System.Reflection; +using LanguageExt.Common; namespace LanguageExt.ClassInstances { diff --git a/LanguageExt.Core/ClassInstances/Functor/FTryAsync.cs b/LanguageExt.Core/ClassInstances/Functor/FTryAsync.cs index fa251a0cb..344577527 100644 --- a/LanguageExt.Core/ClassInstances/Functor/FTryAsync.cs +++ b/LanguageExt.Core/ClassInstances/Functor/FTryAsync.cs @@ -1,4 +1,5 @@ using System; +using LanguageExt.Common; using LanguageExt.TypeClasses; using static LanguageExt.Prelude; using System.Diagnostics.Contracts; diff --git a/LanguageExt.Core/ClassInstances/Functor/FTryOptionAsync.cs b/LanguageExt.Core/ClassInstances/Functor/FTryOptionAsync.cs index 3f0e46ad4..d426d8675 100644 --- a/LanguageExt.Core/ClassInstances/Functor/FTryOptionAsync.cs +++ b/LanguageExt.Core/ClassInstances/Functor/FTryOptionAsync.cs @@ -1,4 +1,5 @@ using System; +using LanguageExt.Common; using LanguageExt.TypeClasses; using static LanguageExt.Prelude; using System.Diagnostics.Contracts; diff --git a/LanguageExt.Core/ClassInstances/Monad/MTry.cs b/LanguageExt.Core/ClassInstances/Monad/MTry.cs index 79d138851..4332cd57b 100644 --- a/LanguageExt.Core/ClassInstances/Monad/MTry.cs +++ b/LanguageExt.Core/ClassInstances/Monad/MTry.cs @@ -2,6 +2,7 @@ using LanguageExt.TypeClasses; using System.Diagnostics.Contracts; using static LanguageExt.Prelude; +using LanguageExt.Common; namespace LanguageExt.ClassInstances { diff --git a/LanguageExt.Core/ClassInstances/Monad/MTryAsync.cs b/LanguageExt.Core/ClassInstances/Monad/MTryAsync.cs index 666775a83..5461cee2c 100644 --- a/LanguageExt.Core/ClassInstances/Monad/MTryAsync.cs +++ b/LanguageExt.Core/ClassInstances/Monad/MTryAsync.cs @@ -1,7 +1,7 @@ using System; using LanguageExt.TypeClasses; using System.Diagnostics.Contracts; -using static LanguageExt.Prelude; +using LanguageExt.Common; using System.Threading.Tasks; namespace LanguageExt.ClassInstances diff --git a/LanguageExt.Core/ClassInstances/Monad/MTryFirstAsync.cs b/LanguageExt.Core/ClassInstances/Monad/MTryFirstAsync.cs index 92ca21682..7becfa51a 100644 --- a/LanguageExt.Core/ClassInstances/Monad/MTryFirstAsync.cs +++ b/LanguageExt.Core/ClassInstances/Monad/MTryFirstAsync.cs @@ -1,4 +1,5 @@ using System; +using LanguageExt.Common; using LanguageExt.TypeClasses; using System.Diagnostics.Contracts; using static LanguageExt.Prelude; diff --git a/LanguageExt.Core/ClassInstances/Monad/MTryOption.cs b/LanguageExt.Core/ClassInstances/Monad/MTryOption.cs index c803a15bb..b67374239 100644 --- a/LanguageExt.Core/ClassInstances/Monad/MTryOption.cs +++ b/LanguageExt.Core/ClassInstances/Monad/MTryOption.cs @@ -1,4 +1,5 @@ using System; +using LanguageExt.Common; using LanguageExt.TypeClasses; using System.Diagnostics.Contracts; using static LanguageExt.Prelude; diff --git a/LanguageExt.Core/ClassInstances/Monad/MTryOptionAsync.cs b/LanguageExt.Core/ClassInstances/Monad/MTryOptionAsync.cs index add8ecff0..86cb55982 100644 --- a/LanguageExt.Core/ClassInstances/Monad/MTryOptionAsync.cs +++ b/LanguageExt.Core/ClassInstances/Monad/MTryOptionAsync.cs @@ -2,6 +2,7 @@ using LanguageExt.TypeClasses; using System.Diagnostics.Contracts; using System.Threading.Tasks; +using LanguageExt.Common; namespace LanguageExt.ClassInstances { diff --git a/LanguageExt.Core/ClassInstances/Monad/MTryOptionFirstAsync.cs b/LanguageExt.Core/ClassInstances/Monad/MTryOptionFirstAsync.cs index 346084546..f6b81cb9a 100644 --- a/LanguageExt.Core/ClassInstances/Monad/MTryOptionFirstAsync.cs +++ b/LanguageExt.Core/ClassInstances/Monad/MTryOptionFirstAsync.cs @@ -3,6 +3,7 @@ using System.Diagnostics.Contracts; using static LanguageExt.Prelude; using System.Threading.Tasks; +using LanguageExt.Common; namespace LanguageExt.ClassInstances { diff --git a/LanguageExt.Core/ClassInstances/Ord/OrdResult.cs b/LanguageExt.Core/ClassInstances/Ord/OrdResult.cs index b75bf7a93..0695b2333 100644 --- a/LanguageExt.Core/ClassInstances/Ord/OrdResult.cs +++ b/LanguageExt.Core/ClassInstances/Ord/OrdResult.cs @@ -1,4 +1,4 @@ - +using LanguageExt.Common; using LanguageExt.TypeClasses; using System.Reflection; diff --git a/LanguageExt.Core/DataTypes/Result/OptionalResult.cs b/LanguageExt.Core/Common/Result/OptionalResult.cs similarity index 99% rename from LanguageExt.Core/DataTypes/Result/OptionalResult.cs rename to LanguageExt.Core/Common/Result/OptionalResult.cs index 13ecb842c..4217018e3 100644 --- a/LanguageExt.Core/DataTypes/Result/OptionalResult.cs +++ b/LanguageExt.Core/Common/Result/OptionalResult.cs @@ -6,7 +6,7 @@ using LanguageExt.ClassInstances; using System.Threading.Tasks; -namespace LanguageExt +namespace LanguageExt.Common { internal enum OptionalResultState : byte { diff --git a/LanguageExt.Core/DataTypes/Result/Result.cs b/LanguageExt.Core/Common/Result/Result.cs similarity index 99% rename from LanguageExt.Core/DataTypes/Result/Result.cs rename to LanguageExt.Core/Common/Result/Result.cs index f6b9a8c6c..b84c3e9d3 100644 --- a/LanguageExt.Core/DataTypes/Result/Result.cs +++ b/LanguageExt.Core/Common/Result/Result.cs @@ -5,7 +5,7 @@ using LanguageExt.ClassInstances; using System.Threading.Tasks; -namespace LanguageExt +namespace LanguageExt.Common { public enum ResultState : byte { diff --git a/LanguageExt.Core/DataTypes/RWS/RWS.Extensions.cs b/LanguageExt.Core/DataTypes/RWS/RWS.Extensions.cs index 570534370..7b1d5255f 100644 --- a/LanguageExt.Core/DataTypes/RWS/RWS.Extensions.cs +++ b/LanguageExt.Core/DataTypes/RWS/RWS.Extensions.cs @@ -1,5 +1,6 @@ using System; using LanguageExt; +using LanguageExt.Common; using static LanguageExt.Prelude; using LanguageExt.ClassInstances; using LanguageExt.TypeClasses; diff --git a/LanguageExt.Core/DataTypes/Reader/Reader.Extensions.cs b/LanguageExt.Core/DataTypes/Reader/Reader.Extensions.cs index 05418aa21..90b3a7399 100644 --- a/LanguageExt.Core/DataTypes/Reader/Reader.Extensions.cs +++ b/LanguageExt.Core/DataTypes/Reader/Reader.Extensions.cs @@ -1,13 +1,8 @@ using System; -using System.Linq; using LanguageExt; -using LanguageExt.TypeClasses; +using LanguageExt.Common; using static LanguageExt.Prelude; -using static LanguageExt.TypeClass; using System.Diagnostics.Contracts; -using System.Threading.Tasks; -using System.Collections.Generic; -using System.ComponentModel; using LanguageExt.ClassInstances; /// diff --git a/LanguageExt.Core/DataTypes/State/State.Extensions.cs b/LanguageExt.Core/DataTypes/State/State.Extensions.cs index 920f66d54..0c742ee00 100644 --- a/LanguageExt.Core/DataTypes/State/State.Extensions.cs +++ b/LanguageExt.Core/DataTypes/State/State.Extensions.cs @@ -1,10 +1,10 @@ using System; -using System.Linq; using LanguageExt; using static LanguageExt.Prelude; using System.Diagnostics.Contracts; using System.Collections.Generic; using LanguageExt.ClassInstances; +using LanguageExt.Common; /// /// Extension methods for State diff --git a/LanguageExt.Core/DataTypes/Try/Task.Try.Extensions.cs b/LanguageExt.Core/DataTypes/Try/Task.Try.Extensions.cs index 84f44124a..2466ca82a 100644 --- a/LanguageExt.Core/DataTypes/Try/Task.Try.Extensions.cs +++ b/LanguageExt.Core/DataTypes/Try/Task.Try.Extensions.cs @@ -3,7 +3,7 @@ using System.Diagnostics.Contracts; using System.Threading.Tasks; using LanguageExt.TypeClasses; -using System.Collections.Generic; +using LanguageExt.Common; public static class TaskTryExtensions { diff --git a/LanguageExt.Core/DataTypes/Try/Try.Extensions.Async.cs b/LanguageExt.Core/DataTypes/Try/Try.Extensions.Async.cs index 799cba860..3ad0cdada 100644 --- a/LanguageExt.Core/DataTypes/Try/Try.Extensions.Async.cs +++ b/LanguageExt.Core/DataTypes/Try/Try.Extensions.Async.cs @@ -1,14 +1,11 @@ using System; -using System.Linq; -using System.ComponentModel; using LanguageExt; using static LanguageExt.Prelude; using static LanguageExt.TypeClass; using System.Diagnostics.Contracts; using System.Threading.Tasks; using LanguageExt.TypeClasses; -using System.Collections.Generic; -using LanguageExt.ClassInstances; +using LanguageExt.Common; /// /// Extension methods for the Try monad diff --git a/LanguageExt.Core/DataTypes/Try/Try.Extensions.cs b/LanguageExt.Core/DataTypes/Try/Try.Extensions.cs index 6ff29c399..bf9840f0c 100644 --- a/LanguageExt.Core/DataTypes/Try/Try.Extensions.cs +++ b/LanguageExt.Core/DataTypes/Try/Try.Extensions.cs @@ -7,6 +7,7 @@ using LanguageExt.TypeClasses; using static LanguageExt.Prelude; using static LanguageExt.TypeClass; +using LanguageExt.Common; /// /// Extension methods for the Try monad diff --git a/LanguageExt.Core/DataTypes/Try/Try.Prelude.cs b/LanguageExt.Core/DataTypes/Try/Try.Prelude.cs index 719bd6610..3de2d034b 100644 --- a/LanguageExt.Core/DataTypes/Try/Try.Prelude.cs +++ b/LanguageExt.Core/DataTypes/Try/Try.Prelude.cs @@ -1,9 +1,8 @@ using LanguageExt.ClassInstances; using LanguageExt.TypeClasses; -using static LanguageExt.TypeClass; +using LanguageExt.Common; using System; using System.Diagnostics.Contracts; -using System.Linq; using System.Collections.Generic; namespace LanguageExt diff --git a/LanguageExt.Core/DataTypes/Try/Try.cs b/LanguageExt.Core/DataTypes/Try/Try.cs index ce4a05018..8709df50d 100644 --- a/LanguageExt.Core/DataTypes/Try/Try.cs +++ b/LanguageExt.Core/DataTypes/Try/Try.cs @@ -1,4 +1,6 @@ -namespace LanguageExt +using LanguageExt.Common; + +namespace LanguageExt { /// /// The Try monad captures exceptions and uses them to cancel the diff --git a/LanguageExt.Core/DataTypes/TryAsync/TryAsync.Extensions.cs b/LanguageExt.Core/DataTypes/TryAsync/TryAsync.Extensions.cs index 4b707e46e..d813b54dd 100644 --- a/LanguageExt.Core/DataTypes/TryAsync/TryAsync.Extensions.cs +++ b/LanguageExt.Core/DataTypes/TryAsync/TryAsync.Extensions.cs @@ -8,6 +8,7 @@ using LanguageExt.TypeClasses; using System.Collections.Generic; using LanguageExt.ClassInstances; +using LanguageExt.Common; /// /// Extension methods for the TryAsync monad diff --git a/LanguageExt.Core/DataTypes/TryAsync/TryAsync.Prelude.cs b/LanguageExt.Core/DataTypes/TryAsync/TryAsync.Prelude.cs index f67b14a36..12e5318d5 100644 --- a/LanguageExt.Core/DataTypes/TryAsync/TryAsync.Prelude.cs +++ b/LanguageExt.Core/DataTypes/TryAsync/TryAsync.Prelude.cs @@ -1,9 +1,8 @@ using LanguageExt.ClassInstances; using LanguageExt.TypeClasses; -using static LanguageExt.TypeClass; +using LanguageExt.Common; using System; using System.Diagnostics.Contracts; -using System.Linq; using System.Threading.Tasks; namespace LanguageExt diff --git a/LanguageExt.Core/DataTypes/TryAsync/TryAsync.cs b/LanguageExt.Core/DataTypes/TryAsync/TryAsync.cs index 9727019f8..a622ea78f 100644 --- a/LanguageExt.Core/DataTypes/TryAsync/TryAsync.cs +++ b/LanguageExt.Core/DataTypes/TryAsync/TryAsync.cs @@ -1,4 +1,5 @@ using System.Threading.Tasks; +using LanguageExt.Common; namespace LanguageExt { diff --git a/LanguageExt.Core/DataTypes/TryOption/Task.TryOption.Extensions.cs b/LanguageExt.Core/DataTypes/TryOption/Task.TryOption.Extensions.cs index 99e05b90f..c80ab27ac 100644 --- a/LanguageExt.Core/DataTypes/TryOption/Task.TryOption.Extensions.cs +++ b/LanguageExt.Core/DataTypes/TryOption/Task.TryOption.Extensions.cs @@ -1,14 +1,9 @@ using System; -using System.Linq; using LanguageExt; -using static LanguageExt.Prelude; -using static LanguageExt.TypeClass; using System.Diagnostics.Contracts; using System.Threading.Tasks; using LanguageExt.TypeClasses; -using LanguageExt.ClassInstances; -using System.ComponentModel; -using System.Collections.Generic; +using LanguageExt.Common; public static class TaskTryOptionExtensions { diff --git a/LanguageExt.Core/DataTypes/TryOption/TryOption.Extensions.Async.cs b/LanguageExt.Core/DataTypes/TryOption/TryOption.Extensions.Async.cs index 74194cf55..59c8e0340 100644 --- a/LanguageExt.Core/DataTypes/TryOption/TryOption.Extensions.Async.cs +++ b/LanguageExt.Core/DataTypes/TryOption/TryOption.Extensions.Async.cs @@ -1,14 +1,10 @@ using System; -using System.Linq; using LanguageExt; using static LanguageExt.Prelude; -using static LanguageExt.TypeClass; using System.Diagnostics.Contracts; using System.Threading.Tasks; using LanguageExt.TypeClasses; -using LanguageExt.ClassInstances; -using System.ComponentModel; -using System.Collections.Generic; +using LanguageExt.Common; /// /// Extension methods for the Try monad diff --git a/LanguageExt.Core/DataTypes/TryOption/TryOption.Extensions.cs b/LanguageExt.Core/DataTypes/TryOption/TryOption.Extensions.cs index fba9d282a..2a2cb8865 100644 --- a/LanguageExt.Core/DataTypes/TryOption/TryOption.Extensions.cs +++ b/LanguageExt.Core/DataTypes/TryOption/TryOption.Extensions.cs @@ -9,6 +9,7 @@ using LanguageExt.ClassInstances; using System.ComponentModel; using System.Collections.Generic; +using LanguageExt.Common; /// /// Extension methods for the Try monad diff --git a/LanguageExt.Core/DataTypes/TryOption/TryOption.Prelude.cs b/LanguageExt.Core/DataTypes/TryOption/TryOption.Prelude.cs index 525c7f6ab..f1a5a018e 100644 --- a/LanguageExt.Core/DataTypes/TryOption/TryOption.Prelude.cs +++ b/LanguageExt.Core/DataTypes/TryOption/TryOption.Prelude.cs @@ -1,9 +1,8 @@ using LanguageExt.ClassInstances; using LanguageExt.TypeClasses; -using static LanguageExt.TypeClass; +using LanguageExt.Common; using System; using System.Diagnostics.Contracts; -using System.Linq; namespace LanguageExt { diff --git a/LanguageExt.Core/DataTypes/TryOption/TryOption.cs b/LanguageExt.Core/DataTypes/TryOption/TryOption.cs index 423f5ef3c..7d2ceea48 100644 --- a/LanguageExt.Core/DataTypes/TryOption/TryOption.cs +++ b/LanguageExt.Core/DataTypes/TryOption/TryOption.cs @@ -1,4 +1,5 @@ - +using LanguageExt.Common; + namespace LanguageExt { /// diff --git a/LanguageExt.Core/DataTypes/TryOptionAsync/TryOptionAsync.Extensions.cs b/LanguageExt.Core/DataTypes/TryOptionAsync/TryOptionAsync.Extensions.cs index d856c4105..5629ba7c9 100644 --- a/LanguageExt.Core/DataTypes/TryOptionAsync/TryOptionAsync.Extensions.cs +++ b/LanguageExt.Core/DataTypes/TryOptionAsync/TryOptionAsync.Extensions.cs @@ -9,6 +9,7 @@ using System.Collections.Generic; using LanguageExt.ClassInstances; using LanguageExt.DataTypes.Serialisation; +using LanguageExt.Common; /// /// Extension methods for the TryOptionAsync monad diff --git a/LanguageExt.Core/DataTypes/TryOptionAsync/TryOptionAsync.Prelude.cs b/LanguageExt.Core/DataTypes/TryOptionAsync/TryOptionAsync.Prelude.cs index 8d236397f..001f6eb66 100644 --- a/LanguageExt.Core/DataTypes/TryOptionAsync/TryOptionAsync.Prelude.cs +++ b/LanguageExt.Core/DataTypes/TryOptionAsync/TryOptionAsync.Prelude.cs @@ -1,9 +1,8 @@ using LanguageExt.ClassInstances; using LanguageExt.TypeClasses; -using static LanguageExt.TypeClass; +using LanguageExt.Common; using System; using System.Diagnostics.Contracts; -using System.Linq; using System.Threading.Tasks; namespace LanguageExt diff --git a/LanguageExt.Core/DataTypes/TryOptionAsync/TryOptionAsync.cs b/LanguageExt.Core/DataTypes/TryOptionAsync/TryOptionAsync.cs index a3fd52c80..105b3d257 100644 --- a/LanguageExt.Core/DataTypes/TryOptionAsync/TryOptionAsync.cs +++ b/LanguageExt.Core/DataTypes/TryOptionAsync/TryOptionAsync.cs @@ -1,4 +1,5 @@ using System.Threading.Tasks; +using LanguageExt.Common; namespace LanguageExt { diff --git a/LanguageExt.Core/DataTypes/Writer/Writer.Extensions.cs b/LanguageExt.Core/DataTypes/Writer/Writer.Extensions.cs index d6ad4259c..aefbee16b 100644 --- a/LanguageExt.Core/DataTypes/Writer/Writer.Extensions.cs +++ b/LanguageExt.Core/DataTypes/Writer/Writer.Extensions.cs @@ -1,11 +1,10 @@ using System; -using System.Linq; using LanguageExt; using static LanguageExt.Prelude; using System.Diagnostics.Contracts; -using System.Collections.Generic; using LanguageExt.ClassInstances; using LanguageExt.TypeClasses; +using LanguageExt.Common; /// /// Extension methods for Writer diff --git a/LanguageExt.Core/LanguageExt.Core.csproj b/LanguageExt.Core/LanguageExt.Core.csproj index d87af5313..99f4a15f6 100644 --- a/LanguageExt.Core/LanguageExt.Core.csproj +++ b/LanguageExt.Core/LanguageExt.Core.csproj @@ -1,4 +1,4 @@ - + TRACE;DEBUG diff --git a/LanguageExt.Core/Utility/ExceptionMatch/ExceptionMatchAsync.cs b/LanguageExt.Core/Utility/ExceptionMatch/ExceptionMatchAsync.cs index e5ccfadc5..7e153bcb1 100644 --- a/LanguageExt.Core/Utility/ExceptionMatch/ExceptionMatchAsync.cs +++ b/LanguageExt.Core/Utility/ExceptionMatch/ExceptionMatchAsync.cs @@ -3,6 +3,7 @@ using System.Diagnostics.Contracts; using System.Threading.Tasks; using static LanguageExt.Prelude; +using LanguageExt.Common; namespace LanguageExt { @@ -126,4 +127,4 @@ public static class ExceptionAsyncExtensions public static LanguageExt.ExceptionMatchAsync Match(this Task> self) => new LanguageExt.ExceptionMatchAsync(self); } -} \ No newline at end of file +} diff --git a/LanguageExt.Core/Utility/ExceptionMatch/ExceptionMatchOptionalAsync.cs b/LanguageExt.Core/Utility/ExceptionMatch/ExceptionMatchOptionalAsync.cs index 9e246466f..085e3f097 100644 --- a/LanguageExt.Core/Utility/ExceptionMatch/ExceptionMatchOptionalAsync.cs +++ b/LanguageExt.Core/Utility/ExceptionMatch/ExceptionMatchOptionalAsync.cs @@ -3,6 +3,7 @@ using System.Diagnostics.Contracts; using System.Threading.Tasks; using static LanguageExt.Prelude; +using LanguageExt.Common; namespace LanguageExt { diff --git a/LanguageExt.Tests/ResultTests.cs b/LanguageExt.Tests/ResultTests.cs index a1d75410a..14046b437 100644 --- a/LanguageExt.Tests/ResultTests.cs +++ b/LanguageExt.Tests/ResultTests.cs @@ -1,4 +1,5 @@ using System; +using LanguageExt.Common; using Xunit; @@ -291,4 +292,4 @@ public void TestMapWithFaultWithNullException() private readonly Result faultResult = new Result(new InvalidOperationException()); private readonly Result faultWithNullException = new Result((Exception) null); } -} \ No newline at end of file +} diff --git a/Samples/Records/Program.cs b/Samples/Records/Program.cs index f74fbc2d1..f7cb7b5c0 100644 --- a/Samples/Records/Program.cs +++ b/Samples/Records/Program.cs @@ -1,4 +1,5 @@ using System; +using LanguageExt.Common; namespace Records { diff --git a/Samples/TestBed/Program.cs b/Samples/TestBed/Program.cs index 30556402d..53702c627 100644 --- a/Samples/TestBed/Program.cs +++ b/Samples/TestBed/Program.cs @@ -8,6 +8,7 @@ using System.Linq; using System.Reflection; using LanguageExt; +using LanguageExt.Common; using Newtonsoft.Json; using System.Runtime.Serialization; using static LanguageExt.Prelude;