Last active
February 11, 2021 09:40
-
-
Save louthy/f4f7a50865bcbf56fd7292e07776ce54 to your computer and use it in GitHub Desktop.
This file contains 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
using System; | |
using LanguageExt; | |
using static LanguageExt.Prelude; | |
namespace RiderCandidates | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Seq<Aff<int>> ma = default; | |
var res = ma.Sequence(ToString); | |
} | |
static Aff<string> ToString(int x) => | |
SuccessAff(x.ToString()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment