© Kit Eason 2018
Kit EasonStylish F#https://doi.org/10.1007/978-1-4842-4000-7_9

9. Programming with Functions

Kit Eason1 
(1)
Farnham, Surrey, UK
 

“Form follows function” – that has been misunderstood. Form and function should be one, joined in a spiritual union.

—Frank Lloyd Wright, Architect

Functions First

One of the things that makes F# a functional-first language is that its functions are “first-class values.”1 But what does that really mean, and how genuinely useful is it? In this chapter, you’ll get the answers to these questions, and learn how you can use (and sometimes abuse) this feature to build simple, refactorable code. This is one of those topics where we move quite a way from the familiar ground of Object Oriented code. So buckle up ...

Get Stylish F#: Crafting Elegant Functional Code for .NET and .NET Core now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.