Today’s random F# code: Regex Active Pattern in API Validation By Urs EnzlerIn .NET, F#, Today's random F# codeFebruary 26, 20231 Min read T Active patterns make using a Regex in F# neat: The matched groups are returned in the list after the pattern. Here is an example from our codebase: Pattern found at Active Patterns – F# | Microsoft Learn:
Today’s random F# code: validation By Urs EnzlerIn .NET, F#, Today's random F# codeFebruary 6, 20231 Min read T Today’s random F# code from our app is about validating data passed to us over our public API: Example code showing the usage of FsToolkit.ErrorHandling’s validation computation expression.