Category Archives: Functional Programming

A Monadic Pratt Parser

Introduction I recently read Beautiful Code which contains articles from several well known programmers about the code they consider beautiful.  In Top Down Operator Precedence, Douglas Crockford discusses the Pratt Parser (named after Vaughan Pratt who wrote the paper on … Continue reading

Posted in F#, Functional Programming, Parsing | 3 Comments

Functional stateful programming in F#

F# is a multi-paradigm language which lets you program in both a functional pure manner and a imperative mutational way.  With F#’s growing popularity many .NET programmers are trying out the language and are able to get started quickly because … Continue reading

Posted in F#, Functional Programming | 5 Comments