F# examples from a book.