Community for F#

Blog articles of Community for F#

0
comment
on 9/28/2011 5:15 AM
Ayande posted a tax calculation challenge the other day here, and here’s my F# solution for the challenge: Enjoy!
>> Read the full article
.
0
comment
on 9/28/2011 3:51 AM
When you consider the age old problem of representing different shapes (circle, triangle, square, rectangle, etc.) my OO fed developer brain naturally jumps to a class hierarchy along the line of: This is perfectly fine and legit, but it’s not the only way to approach things. Since I’ve been on a more varied diet of [...]
>> Read the full article
.
0
comment
on 9/27/2011 6:15 AM
While writing the previous article on tokenized matching I realized I left out some important background information on Jaro-Winkler distance. First, there’s something important to know about the Jaro-Winkler distance: it’s not a metric distance and so does not obey the triangle inequality. That is, if you found the JW distance between strings A and [...]
>> Read the full article
.
0
comment
on 9/27/2011 3:00 AM
C# developers should be familiar with the yield keyword that was introduced in C# 2.0, and you’ll be pleased to know that F# also has the yield keyword which works in conjunction with F#’s equivalent of IEnumerable – sequences. You can create sequences in F# using sequence expressions: In addition, you can also use the [...]
>> Read the full article
.
0
comment
on 9/26/2011 5:06 PM
In F#, you can defined record types which differ from tuples and discriminated unions in that they allow you to organize values into a type and name those values through fields: Looks like a cut-down version of a standard .Net class with a couple of properties? Yes they do, but records offer several advantages over [...]
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper