F# Bloggers

Blog articles of F# Bloggers

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" reproducedString[...]
>> Read the full article
.
0
comment
on 12/20/2014 6:55 AM
This post is December 20th' part of the English F# Advent #fsAdvent series; make sure to also check out the Japanese series, which also packs the awesome! As I was going around Paris the other day, I ended up in the Concorde metro station. Instead of the standard issue white tiles, this station is decorated with the French constitution, rendered as a mosaic of letters. [Source: Wikipedia] My mind started wandering, and by some weird association, it reminded me of Calligrammes, a collection of poems [...]
>> Read the full article
.
0
comment
on 12/11/2014 5:53 PM
Code for this entry: here. In this first part, we started shamelessly plagiarizing creatively reproducing a Clojure monad that does a great job describing stochastically independent processes. After a few trials I became convinced, that the approach in the blog post mentioned above was indeed optimal: a “natural” approach of modelling an event as a […]
>> Read the full article
.
0
comment
on 12/6/2014 1:02 PM
Continuing the recent theme of awesome .NET development news, a blog post from Thursday by the .NET team provided more details on the platform's future, ".NET Core." The ensuing comment thread on Hacker News had some nice F# discussion.  One commenter, though, was not a huge fan, and in particular lamented perceived limitations in the F# … Continue reading Extending a 3rd-party API with F# units of measure →
>> Read the full article
.
0
comment
on 12/5/2014 4:20 PM
The idea for doing this is not new. There is an excellent series of posts closely tracing an article on applications of functional programming to probability. A colleague of mine has recently called my attention to his own post of two years ago, where he describes a monad that models stochastically independent events in Clojure. […]
>> 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