Problem I’m trying to solve the following Advent of Code problem in F# for practice. Description of problem (can be […]

# Tag: f#

## Project Euler Problem 1 – Functional approach?

Problem I’m trying to learn F# right now coming from C# and I’m finding it a great difficulty to “reconfigure” […]

## Concise way of “updating” element in nested collections

Problem Imagine simple game: type Combatant = { hp : int attack : int } type CombatantGroup = Combatant list […]

## Finding the largest prime factor

Problem As many people will undoubtedly recognise, this is a question in a well known series of problems that I […]

## Project Euler Problems #1-#5

Problem Since I’ve been playing with F#, I decided to try my hand at implementing some of the Project Euler […]

## InsertSort F# program

Problem I have written this InsertSort program in F#. It works, but I am not very happy with it. let […]

## Getting the last date where a given week day occurred

Problem I’m trying to learn a little bit about functional programming and as my tool I chose F# since I’m […]

## hl7 parser with fparsec

Problem I have a little experience working with .hl7 data (format for transmitting health data), so I decided to try […]

## Ordering a sequence of objects by type

Problem The below code takes an incoming sequence of objects, checks each object’s type and then yields the object in […]

## Solution to Project Euler problem 5 (LCM of 1 to 20)

Problem I’m an experienced C# developer trying to teach myself F#. I spent a day or 3 reading throught the […]