- Install .NET Core >= 2.1.3 so you have access to
dotnet tool install
. - Install Fake 5.0 with
dotnet tool install fake-cli -g
. - Install Fake Templates with
dotnet new -i "fake-template::*"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static partial class LinqExtensions | |
{ | |
public static Maybe<C> SelectMany<A, B, C>(this Maybe<A> ma, Func<A, Maybe<B>> f, Func<A, B, C> select) => ma.Bind(a => f(a).Map(b => select(a, b))); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Utility | |
{ | |
using System; | |
using System.Runtime.CompilerServices; | |
using System.Threading.Tasks; | |
internal sealed class LazyAsync<T> | |
{ | |
public T Value => valueL.Value; |
OlderNewer