Blog articles tagged 'functional', 'programming'

0
comment
on 8/28/2013 11:49 AM
.
0
comment
on 7/6/2013 5:59 AM
Problem The primes 3, 7, 109, and 673, are quite remarkable. By taking any two primes and concatenating them in any order the result will always be prime. For example, taking 7 and 109, both 7109 and 1097 are prime. The sum of these four primes, 792, repr[...]
.
0
comment
on 6/24/2013 4:52 PM
Following on from my last post on formatting a Markdown document into PDF using FSharp.Markdown.Pdf, if you don’t like the default styling (which I tried to mimic style Github formats Markdown documents with) you can set your own styling for the different[...]
.
0
comment
on 6/15/2013 6:12 AM
I spent the last couple of nights putting together a simple Markdown to PDF formatter using Tomas Petricek’s FSharp.Formatting project and the PdfSharp-MigraDoc library. To use this library, you can either grab the source from the GitHub repository or get[...]
.
0
comment
on 4/1/2013 7:02 PM
After a long Easter holiday filled with late night coding sessions I find myself wide awake at 2am… good job I’ve still got my pluralsight subscription and a quick look at the Algorithms and Data Structures course again at least gave me something to do to[...]
.
0
comment
on 10/19/2012 6:40 PM
With the official release of .Net 4.5 and Visual Studio 2012, I suspect many .Net developers will be rushing to rewrite their data access or network layers (amongst many many other things!) to take advantage of the new async-await (see the excellent 101 e[...]
.
0
comment
on 10/18/2012 2:34 PM
In Erlang, we have the Supervisor behaviour which makes it very easy to provide the means to monitor and restart a whole network of workers and other supervisors based on some configured strategy. The MailboxProcessor (aka agents) in F# doesn’t come with [...]
.
0
comment
on 9/24/2012 5:16 PM
This is a list of my takeaways from the excellent talk between Erik Meijer (of the LINQ and Rx fame), Carl Hewitt (creator of the Actor model) and Clemens Szyperski, on the Actor model.   Disclaimer : this conversation revolves around the conceptual model[...]
.
0
comment
on 8/9/2012 1:01 AM
You can specify a function which can take in a numeric value with a generic unit of measure easily enough: Similarly, you can also specify a discriminated union whose clauses can be of a numeric value with a generic unit of measure, like this:
.
0
comment
on 8/9/2012 12:50 AM
Peculiarly I couldn’t find any documented way to create a type extension for a generic array, ‘a [ ], turns out you need to use backtick marks ( ‘ ) around the square brackets in order to do that:
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us
Built with WebSharper