SRTP and active patterns tricks for mimicking Typescript union types
6 people like thisPosted: 3 years ago by Evgeniy Andreev
An active pattern that protects from null reference exceptions stemming from pattern matches on values materialized by .NET libraries such as Newtonsoft.Json
3 people like thisPosted: 2 years ago by Eirik Tsarpalis
A simple script that automatically recompiles LaTeX documents when they are saved. Works nicely when editing papers in Atom and using SumatraPDF for preview (Sumatra automatically reloads PDF documents). Does not report errors or anything clever (!)
1 people like thisPosted: 1 year ago by Tomas Petricek
We can use active patterns for parsing values of types with defined TryParse methods.
5 people like thisPosted: 28 days ago by Evgeniy Andreev
We can use active patterns for methods deconstruction. It allow to hide some rough SRTP syntax.
10 people like thisPosted: 3 years ago by Evgeniy Andreev
Usage:
[
Posted: 2 years ago by Yuri Martynov
A good use case for demonstrating the use of active patterns
6 people like thisPosted: 7 months ago by Faisal Waris