Tag: fold
-
The Road to Functional Programming in F# – From Imperative to Computation Expressions
In F# there are a lot of options when it comes to choosing the style in which you will perform a computation. So, for our last meeting of the the NYC F# User Group I decided to try and build a general understanding of how the different styles are related to each other through trying…
-
The Ted Neward F# Folding Challenge
My friend, and fellow Professional F# 2.0 author, Ted Neward recently challenged me to a bit of a Code Kata. Take a list of numbers and compress it in a particular simple way but without any mutable state. What makes this problem interesting is that a tech interviewer mentioned that that he hadn’t seen a functional solution to this problem.…