Skip to Content
Get Programming with F#
book

Get Programming with F#

by Isaac Abraham
March 2018
Intermediate to advanced
592 pages
15h 45m
English
Manning Publications
Content preview from Get Programming with F#

Unit 3. Types and functions

So far, in terms of F# the language, you’ve looked at type inference, structuring code with expressions, and working with immutable data. But you’ve only dealt with simple data values—int, string, and so on. What about classes? Do we still have them in F#? If not, what else do we use? And what about functions? F# is supposed to be a functional programming language, and yet we’ve barely covered them!

Don’t worry: this unit covers all these topics. You’ll see how F#’s approach to separating data and behavior works, and why it generally means that classes are undesirable within a functional-first system. In fact, this unit doesn’t focus on classes at all. Instead, it presents alternative ways of modeling problems without ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Functional Programming with F#

Learning Functional Programming with F#

Onur Gumus

Publisher Resources

ISBN: 9781617293993OtherSupplemental ContentPublisher SupportPublisher WebsiteSupplemental ContentErrata PagePurchase Link