Beginning F♯ 4.0 / Robert Pickering, Kit Eason.
This book is a great foundation for exploring functional-first programming and its role in the future of application development. The best-selling introduction to F♯, now thoroughly updated to version 4.0, will help you learn the language and explore its new features. F♯ 4.0 is a mature, open source...
Saved in:
Online Access: |
Full Text (via O'Reilly/Safari) |
---|---|
Main Authors: | , |
Other title: | Beginning F sharp 4.0. |
Format: | eBook |
Language: | English |
Published: |
[Place of publication not identified] :
Apress,
2016.
|
Edition: | Second edition. |
Series: | Expert's voice in .NET.
|
Subjects: |
Table of Contents:
- At a Glance; Contents; About the Authors; About the Technical Reviewer; Acknowledgments; Foreword; Chapter 1: Getting Started; What Is Functional Programming?; Why Is Functional Programming Important?; What Is F#?; Who Is Using F#?; Who Is This Book For?; What's Next?; Chapter 2: How to Obtain, Install, and Use F#; Obtaining F# on Microsoft Windows; Obtaining F# on Apple OS X; Obtaining F# on Linux; The Examples in This Book; Summary; Chapter 3: Functional Programming; Literals; Anonymous Functions; Identifiers and let Bindings; Identifier Names; Scope; Capturing Identifiers.
- The use BindingRecursion; Operators; Function Application; Partial Application of Functions; Pattern Matching; Control Flow; Lists; Pattern Matching Against Lists; List Comprehensions; Types and Type Inference; Defining Types; Tuple and Record Types; Union or Sum Types (Discriminated Unions); Type Definitions with Type Parameters; Recursive Type Definitions; Active Patterns; Complete Active Patterns; Partial Active Patterns; Units of Measure; Exceptions and Exception Handling; Lazy Evaluation; Summary; Chapter 4: Imperative Programming; The Unit Type; The Mutable Keyword.
- Methods and InheritanceAccessing the Base Class; Properties and Indexers; Autoproperties; Overriding Methods from Non-F# Libraries; Abstract Classes; Classes and Static Methods; Casting; Type Tests; Defining Delegates; Structs; Enums; Summary; Chapter 6: Organizing, Annotating, and Quoting Code; Modules; Namespaces; Opening Namespaces and Modules; Giving Modules Aliases; Signature Files; Private and Internal let Bindings and Members; Module Scope; Module Execution; Optional Compilation; Comments; Doc Comments; Comments for Cross-Compilation; Custom Attributes; Quoted Code; Summary.
- Chapter 7: The F# LibrariesThe Native F# Library FSharp.Core.dll; The FSharp.Core.Operators Module; Arithmetic Operators; Floating-Point Arithmetic Functions; Tuple Functions; The Conversion Functions; The Bitwise Or and And Operators; The FSharp.Reflection Module; Reflection Over Types; Reflection Over Values; The FSharp.Collections.Seq Module; The map and iter Functions; The concat Function; The fold Function; The exists and forall Functions; The filter, find, and tryFind Functions; The choose Function; The init and initInfinite Functions; The unfold Function; The cast Function.