Category Archives: F#

FastSharp 2.0

I just released a new version of my FastSharp program. Download it  or  View the source code This release contains some notable enhancements: Support for multiple languages C# Visual Basic F# Pers…

Continue reading
Posted in C#, F#, FastSharp, Visual Studio Gallery | Leave a comment

Regex based Lexer with F#

This lexer allows you to define your regular expression based rules in a very declarative way using F# computation expressions. open Lexer let definitions = lexerDefinitions { do! addNextlineDefinition “NEWLINE” @”(\n\r)|\n|\r” do!…

Continue reading
Posted in F# | Leave a comment

A functional take on console program loop in F#

Often when learning a new technology I start with a simple console application in which the program is run in a loop it continues to prompt you for more input until you give some command like quit or exit or whatever you choose: Enter input: someInput…

Continue reading
Posted in F# | Leave a comment

Parameterized State Transformer Monad in F#?

I have have been playing around with F# and I decided to create a state monad.  This worked out really well since I was able to leverage the F# computation expressions.  I then decided to try to extend this and make it more general by creatin…

Continue reading
Posted in F#, Haskell, Programming | Comments Off

Parameterized State Transformer Monad in F#?

I have have been playing around with F# and I decided to create a state monad.  This worked out really well since I was able to leverage the F# computation expressions.  I then decided to try to extend this and … Continue reading

Posted in F# | Leave a comment

I started playing with F#…

I decided to do some Project Euler problems using F#.  So here is my first one, Problem # 31.  Nothing in this solution really shows off anything special about F# but you have to start somewhere ;) 1: #light 2:  … Continue reading

Posted in F# | Leave a comment