Functional Programming Using F#
This comprehensive introduction to the principles of functional programming using F# shows how to apply basic theoretical concepts to produce succinct and elegant programs. It demonstrates the role of functional programming in a wide spectrum of applications including databases and systems. Coverage also includes advanced features in the .NET library, the imperative features of F# and topics such as text processing, sequences, computation expressions and asynchronous computation. With a broad spectrum of examples and exercises, the book is perfect for courses in functional programming and for self-study. Enhancing its use as a text is an accompanying website with downloadable programs, lecture slides, mini-projects and links to further F# sources.
- Presents a standard curriculum in functional programming as well as more advanced topics
- The first text book focusing on F#, contains real-world applications
- Contains a rich collection of exercises
Reviews & endorsements
"I highly recommend this textbook introducing functional programming with F#. Building on core functional concepts, Hans and Michael introduce topics carefully and with an eye to both theory and practice. The book gives an excellent basis for programming in today’s strongly typed multi-paradigm languages and will enable the student to explore many further applied programming domains."
Don Syme, Principal Researcher and F# Designer, Microsoft Research
"Whereas the power of functional programming has been widely recognized only in recent years, Hansen and Rischel bring decades of experience to the subject. Using F#, they teach how to employ a range of elegant functional programming techniques and show how a host of realistic problems can be solved functionally, drawing on the rich libraries of the .NET platform."
Peter Sestoft, Professor, IT University of Copenhagen
"I found this to be an outstanding book on this hybrid language, F#, which can be profitably studied from various perspectives, from theoretical to highly pragmatic."
George Hacken, Computing Reviews
Product details
May 2013Paperback
9781107684065
372 pages
253 × 177 × 23 mm
0.74kg
76 b/w illus. 56 tables 133 exercises
Available
Table of Contents
- 1. Getting started
- 2. Values, operators, expressions, and functions
- 3. Tuples, records, and tagged values
- 4. Lists
- 5. Collections: lists, maps, and sets
- 6. Finite trees
- 7. Modules
- 8. Imperative features
- 9. Efficiency
- 10. Text processing programs
- 11. Sequences
- 12. Computation expressions
- 13. Asynchronous and parallel computations.