Posts Tagged ‘fold’

Project Euler in F# – Problem 22

{ Posted on Feb 12 2008 by claudio }
Unlike pure functional programming languages, F# is a multi-paradigm language, so you can mix object-oriented code with functional one, mainly to exploit the features of the .Net framework. In Project Euler Problem 22 we are asked to open a file (imperative ...Read More »

Project Euler in F# – Problem 5 (alternative solution)

{ Posted on Feb 08 2008 by claudio }
There was some buzz concerning my last post on Project Euler Problem 5, since the solution presented implemented a naive brute-force algorithm and its performance was very poor. In my mind it was only meant to be an introductory article devoted ...Read More »

Project Euler in F# – Problem 6

{ Posted on Jan 23 2008 by claudio }
The exercises proposed by Project Euler are ordered by difficulty, and the one I'll discuss today is ranked sixth. However, I think it is one of the easiest to solve, since it doesn't require any trick and the solution is already ...Read More »