Book description
Functional programming (FP) is the future of .NET programming, and F# is much more than just an FP language. Every professional .NET programmer needs to learn about FP, and there's no better way to do it than by learning F#, and no easier way to learn F# than from Foundations of F#.
If you're already familiar with FP, youll find F# the language youve always dreamed of. All .NET programmers will find F# an exciting real-world alternative to C# and Visual Basic. This book is likely to have many imitators, but few true competitors. Written by F# evangelist Rob Pickering, and tech reviewed by F#'s main designer, Don Syme, this is an elegant, comprehensive introduction to all aspects of the language and an incisive guide to using F# for real-world professional development. F# is the future of programming (not just on .NET), and the future is now.
Table of contents
- Title Page
- Dedication
- Contents at a Glance
- Contents
- Foreword
- About the Author
- About the Technical Reviewer
- Acknowledgements
- Preface
- CHAPTER 1 Introduction
- CHAPTER 2 How to Obtain, Install, and Use F#
- CHAPTER 3 Functional Programming
-
CHAPTER 4 Imperative Programming
- The unit Type
- The mutable Keyword
- Defining Mutable Record Types
- The ref Type
- Arrays
- Array Comprehensions
- Control Flow
- Loops over Comprehensions
- Calling Static Methods and Properties from .NET Libraries
- Using Objects and Instance Members from .NET Libraries
- Using Indexers from .NET Libraries
- Working with Events from .NET Libraries
- Pattern Matching over .NET Types
- The |> Operator
- Summary
-
CHAPTER 5 Object-Oriented Programming
- Casting
- Type Tests
- Type Annotations for Subtyping
- Records As Objects
- F# Types with Members
- Object Expressions
- Defining Interfaces
- Implementing Interfaces
- Classes, Fields, and Explicit Constructors
- Implicit Class Construction
- Classes and Inheritance
- Classes and Methods
- Accessing the Base Class
- Properties and Indexers
- Classes and Static Methods
- Overriding Methods from Non-F# Libraries
- Defining Delegates
- Structs
- Enums
- Summary
- CHAPTER 6 Organizing, Annotating, and Quoting Code
- CHAPTER 7 The F# Libraries
-
CHAPTER 8 User Interfaces
- Introducing WinForms
- Drawing WinForms
- Working with Controls in WinForms
- Using the Visual Studio Form Designer's Forms in F#
- Working with WinForms Events and the IEvent Module
- Creating New Forms Classes
- Introducing ASP.NET 2.0
- Creating an IHttpHandler
- Working with ASP.NET Web Forms
- Introducing Windows Presentation Foundation
- Introducing Windows Presentation Foundation 3D
- Summary
- CHAPTER 9 Data Access
- CHAPTER 10 Distributed Applications
- CHAPTER 11 Language-Oriented Programming
- CHAPTER 12 The F# Tool Suite and .NET Programming Tools
- CHAPTER 13 Compatibility and Advanced Interoperation
- Index
Product information
- Title: Foundations of F#
- Author(s):
- Release date: June 2007
- Publisher(s): Apress
- ISBN: 9781590597576
You might also like
book
Beginning F#
Functional programming is perhaps the next big wave in application development. As experienced developers know, functional …
book
F# for C# Developers
Extend your C# skills to F#—and create data-rich computational and parallel software components faster and more …
book
Mastering F#
A comprehensive and in-depth guide to writing functional programs using F# About This Book Learn how …
book
Programming F#
Why learn F#? This multi-paradigm language not only offers you an enormous productivity boost through functional …