Last week I reluctantly shared the ugle initial C# version of my simple playing AI “nextCard”. Today, let’s look at the nicer version. One of the first things I did in F# was makeĀ getSuit and getRank helpers: let getSuit (c: Desi.Card) : Desi.Suit = match c with | Desi.Card (s,r) -> s let getRank (c: […]