SRTP and active patterns tricks for mimicking Typescript union types
8 people like thisPosted: 7 years ago by Evgeniy Andreev
We can use active patterns for methods deconstruction. It allow to hide some rough SRTP syntax.
11 people like thisPosted: 7 years ago by Evgeniy Andreev
We can use active patterns for parsing values of types with defined TryParse methods.
6 people like thisPosted: 3 years ago by Evgeniy Andreev
Fizz
4 people like thisPosted: 2 years ago by Evgeniy Andreev
Now with nice syntax!
0 people like thisPosted: 2 years ago by Evgeniy Andreev
IT'S IMPOSSIBLE TO WRITE PRODUCTION CODE WITHOUT TYPE CLASSES
1 people like thisPosted: 2 years ago by Evgeniy Andreev
We can use power of computation expressions and InlineIfLambda to get nice syntax and mutable index tracking for allocating strings
3 people like thisPosted: 2 years ago by Evgeniy Andreev
It seems original design for struct tuples doesn't contain struct versions of fst and snd functions. SRTP FTW!
3 people like thisPosted: 7 years ago by Evgeniy Andreev
Playing around Fable's experimental implicits
3 people like thisPosted: 6 years ago by Evgeniy Andreev
Active pattern returning list of captured groups with parsing.
0 people like thisPosted: 3 years ago by Evgeniy Andreev
Fold it!
1 people like thisPosted: 2 years ago by Evgeniy Andreev
Build strings using powerful higher-rank encoding!
0 people like thisPosted: 2 years ago by Evgeniy Andreev
Neat trick to improve safety
3 people like thisPosted: 2 years ago by Evgeniy Andreev