Explore >> Select a destination


You are here

blog.thomasheartman.com
| | eli.thegreenplace.net
9.2 parsecs away

Travel
| |
| | matthew.brecknell.net
12.4 parsecs away

Travel
| |
| | hookrace.net
10.9 parsecs away

Travel
| |
| | ashishvegaraju.com
99.6 parsecs away

Travel
| In my last article about Functional domain modeling, I explored the expressiveness of F# in modeling a domain. I fell in love with the simplicity and expressiveness of the language. In this article I will attempt to explore function purity in F#. In F#, functions are first class citizens because it allows to pass function as an argument to other function, return a function or assign function to a variable. Initially I found it a bit hard to wrap my head around the concept of treating functions as first class citizens. In fact one of the biggest challenge for me was surprisingly not the weird syntax of F#, but to think in terms of functions.