Functional Programming in F#

Overview

Helping readers to understand and learn how to use F#, this book covers basic algorithms and data structures using an innovative functional programming approach. The authors first use analogies of high school mathematics to cover code in order to make the code easy to understand. They then connect functional programming topics to important computer science areas and employ the popular .NET environment to give readers real-world skills and a solid programming platform. The text also includes an appendix on .NET ...

See more details below
This Paperback is Not Available through BN.com
Sending request ...

Overview

Helping readers to understand and learn how to use F#, this book covers basic algorithms and data structures using an innovative functional programming approach. The authors first use analogies of high school mathematics to cover code in order to make the code easy to understand. They then connect functional programming topics to important computer science areas and employ the popular .NET environment to give readers real-world skills and a solid programming platform. The text also includes an appendix on .NET programming using F# that contains additional information.

Read More Show Less

Product Details

  • ISBN-13: 9781439839980
  • Publisher: CRC Press
  • Publication date: 6/15/2016
  • Pages: 325

Table of Contents

FROM MATHEMATICS TO PROGRAMMING Expression as a Basic Building Block
Expressions in mathematics Calculating with numbers The type of an expression Calling operators and functions Value bindings Expressions without result Basic expressions Evaluating expressions

Reusing and Parameterizing Expressions
Writing reusable code Functions Parameterizing expressions Structuring code Understanding functions Example: drawing graph of a function Evaluating functions

COMPUTER PROGRAMMING Composing Primitive Types into Data
Thinking using functions Combining data types Tuples and records Discriminated unions Pattern matching

Generic and Recursive Types
Generic types Recursive types The list type Structural recursion

Hiding Recursion Using Functions as Values
Writing reusable functions Abstract data types Higher order functions Processing lists Understanding function types

SOLVING ALGORITHMIC PROBLEMS Representing Functional Data
Representing trees Representing mathematical expressions

Arbitrary Recursion
Recursive calculations Efficiency of algorithms Iteration Recursive algorithms Sorting lists

Basic Algorithms
Visualizing algorithms using .NET State machines Text search Graph algorithms

Read More Show Less

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)