Posts Tagged ‘fsharp’

Spell checking with F#

{ Posted on Jan 25 2010 by claudio }
Some months ago I have written an introductory article on F# for the "IoProgrammo" magazine (sorry, Italian only!) and now I have published a second article on the latest issue of the same magazine. This new article covers more advanced topics ...Read More »

Functional programming interview question

{ Posted on Aug 26 2009 by claudio }
I think that examining the hiring process of a company you can understand a lot of what would be working there. As Joel Spolsky wrote, you should only hire people who are Smart and Get Things Done and a good way ...Read More »

F# introductory article on IoProgrammo magazine

{ Posted on Jul 21 2009 by claudio }
If you understand Italian, you may be interested in reading an introductory article on F# I wrote for the most important Italian programming magazine called "IoProgrammo" and that was published a few days ago in the August issue. The article covers ...Read More »

Luhn algorithm in F#

{ Posted on Apr 15 2009 by claudio }
The Luhn algorithm is a simple error detection formula based on the modulus operator which is widely used to validate credit card numbers or Canadian Social Insurance Numbers. This checksum function can detect any single-digit error and operates verifying the number ...Read More »

Project Euler in F# – Problem 52

{ Posted on Mar 20 2009 by claudio }
Tags : , , , ,
Categories : Project Euler
After a long break, let's resume with the Project Euler series. The next one to be solved is Problem 52: It can be seen that the number, 125874, and its double, 251748, contain exactly the same digits, but in a different order. Find ...Read More »

Brainfuck interpreter in F#

{ Posted on Feb 12 2009 by claudio }
Brainfuck is an esoteric programming language whose grammar consists of only eight commands, written as a single character each. Besides this minimalistic structure, the language is Turing-complete but writing (and reading) Brainfuck code is very hard. The Brainfuck machine uses a finite-length ...Read More »

Facebook FizzBuzz

{ Posted on Jan 23 2009 by claudio }
Have you ever tried looking for "FizzBuzz" on a search engine? If you do, you'll surely land on this page on Coding Horror, the blog written by Jeff Atwood. To make a long story short, Jeff states that the vast majority of ...Read More »

Random testing in F# with FsCheck

{ Posted on Dec 28 2008 by claudio }
One of the emerging trends in software development is TDD or Test-Driven Development, a methodology based on writing tests first and then coding in order to pass the tests. Besides unit testing libraries inherited by the .Net Framework, F# can now ...Read More »

Project Euler in F# – Problem 55

{ Posted on Dec 17 2008 by claudio }
As in the last post, in the description of Project Euler problem 55 there is a detailed step-by-step solution of the problem itself and we just have to write the F# code to perform the tasks. The only thing that I ...Read More »

Project Euler in F# – Problem 53

{ Posted on Dec 07 2008 by claudio }
Some of the problems proposed by Project Euler actually present the solution together with the description of the problem itself. This is the case with Problem 53: There are exactly ten ways of selecting three from five, 12345: 123, 124, 125, 134, 135, ...Read More »