F# Bloggers

Blog articles of F# Bloggers

0
comment
on 12/28/2014 8:54 AM
Hoeveel regels kost het om een spelling checker te maken in F#? Antwoord: 17 regels. Maar hoe doen we dat dan? We kunnen een tabel maken met alle woorden van het woordenboek, maar met dit data formaat is het erg moeilijk om met suggesties te komen wanneer een woord niet in het woordenboek voorkomt. Dus we hebben iets nodig dat ook "gedeeltelijke matches" aankan. Daarom kiezen we de volgende boomstructuur. Ieder woord wordt opgeknipt in stukjes, wanneer een stukje voorkomt in een ander woord. [...]
>> Read the full article
.
0
comment
on 12/26/2014 10:30 PM
This post is the December 26th entry in the 2014 English F# Blog Advent Calendar. Check out the other great posts from earlier in the month, or head over to the Japanese-language edition! Ho ho ho! It's the day after Christmas, and hopefully everyone has some snazzy new toys to play with.  But just in case … Continue reading Nested looping to programmatic depth in F# →
>> Read the full article
.
0
comment
on 12/25/2014 4:00 PM
This post is the December 26th entry in the 2014 English F# Blog Advent Calendar. Check out the other great posts from earlier in the month, or head over to the Japanese-language edition! Ho ho ho! It’s the day after Christmas, and hopefully everyone has some snazzy new toys to play with.  But just in case Santa left you a lump of coal (“… little Billy used mutable state this year …”), don’t pout, don’t cry, I’ve got you covered.  My gift for all the naughty F# developers out there: a mini-framework for[...]
>> Read the full article
.
0
comment
on 12/23/2014 9:41 AM
This post is part of the F# advent calendar, which is filled with all sorts of other cool blog posts, be sure to check it out.  Thanks to Sergey Tihon for organising! It’s Christmas! Happy Christmas everyone!  I have the honour of the Christmas Day F# advent calendar post (Thanks Tomas, ha!).  I had a whole bunch of different ideas, and typically, I decided to choose the largest, most complicated one.  Because of this, there is a lot of code written in just a couple of evenings. It is for the most part, ba[...]
>> Read the full article
.
0
comment
on 12/21/2014 6:36 PM
The built-in .NET Join and Split methods for strings do not provide a way for escaping the separator. If the separator is already contained in the input strings before joining, the strings cannot be reproduced by splitting: open System let inputStrings = [| "Hello, world."; "How are you?" |] let separator = ", " let joinedResult = String.Join(separator, inputStrings) let reproducedStrings = joinedResult.Split([| separator |], StringSplitOptions.None) printfn "%A" inputStrings printfn "%A" reproducedStrings[...]
>> 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