LanguagePrimitives help create inline functions
42 people like thisPosted: 13 years ago by Dmitri Pavlenkov
for all those wanting to see the (rather unknown) statical interference of type-parameters (in contrast to generic type parameters) in action. I demonstrated this by having som e fun with basic algebra and polynoms
0 people like thisPosted: 13 years ago by Carsten König
Even with the latest tools, we're sometimes exposed to .NET archeaology: parts of the framework designed before .NET 2. Examples of this are the dictionary classes from System.Collections, which are a little strongly typed, but not quite -- you see them if you call HttpUtility.ParseQueryString, or if you use pretty much anything in System.Configuration. Here's some code to make these classes a little safer in F#.
3 people like thisPosted: 11 years ago by Tim Robinson
While reading Tomas Petricek's master thesis, came across FIX operator implementation. Decided to experiment with various implementations of factorial.
16 people like thisPosted: 13 years ago by Dmitri Pavlenkov
This pattern shows that by using a few static member constraints, one can create an assortment of data processing functions that emulate higher level typing than is possible in F#.
4 people like thisPosted: 11 years ago by Greg Ros
"let rec inline" doesn't always behave as expected
2 people like thisPosted: 9 years ago by mavnn