Expert F# is about practical programming in a beautiful language that puts the power and elegance of functional programming into the hands of .NET developers. In combination with .NET, F# achieves unrivaled levels of programmer productivity and program clarity. This books serves as
- The authoritative guide to F# by the designer of F#
- A comprehensive reference of F# concepts, syntax, and features
- A treasury of expert F# techniques for practical, real–world programming
While inspired by OCaml, F# isn’t just another functional programming language. Drawing on many of the strengths of both OCaml and .NET, it’s a general–purpose language ideal for real–world development. F# integrates functional, imperative, and object–oriented programming styles so you can flexibly and elegantly solve programming problems, and brings .NET development alive with interactive execution. Whatever your background, you’ll find that F# is easy to learn, fun to use, and extraordinarily powerful. F# will help change the way you think about and go about programming.
Written by F#’s designer and two active contributors, Expert F# is the authoritative, comprehensive, and in–depth guide to the language and its use. Designed to help others become experts, the book gives a thorough introduction to the F# language from quick essentials to in–depth advanced topics such as active pattern matching, aggregate data types and operators, sequence expressions, lazy values, mutable data and side–effects, generics, type augmentations, functional decomposition and code organization.
The second half of the book is devoted to examining the practical application of F#, providing elegant solutions to common programming tasks including user interface implementation, data access, web and distributed programming, symbolic and numerical computations, concurrent programming, testing, profiling, andinteroperability with other languages. The latest hot developments in F# and .NET are also addressed, including Active Patterns, implicit class construction, integration with LINQ over relational data, meta programming and useful tips for working with Visual Studio and F# command–line tools.
The worlds foremost experts in F# show you how to program in F# the way they do!
Inhaltsverzeichnis
Getting Started with F# and .NET.- Introducing Functional Programming.- Introducing Imperative Programming.- Mastering Types and Generics.- Working with Objects and Modules.- Encapsulating and Packaging Your Code.- Mastering F#: Common Techniques.- Introducing Language-Oriented Programming.- Using the F# and .NET Libraries.- Working with Windows Forms and Controls.- Working with Symbolic Representations.- Reactive, Asynchronous, and Concurrent Programming.- Building Web Applications.- Working with Data.- Lexing and Parsing.- Interoperating with C and COM.- Debugging and Testing F# Programs.- Designing F# Libraries.
Über den Autor
Antonio Cisternino is a professor in the Computer Science Department of the University of Pisa. His primary research is on scientific computing, meta-programming and domain-specific languages on virtual-machine-based execution environments. He has been active in the .NET community since 2001 and developed VSLab, a Microsoft Visual Studio add-in to support MATLAB-like programming in F# and Visual Studio. He is also author of annotated C#, an extension of C#, and Robotics4.NET, a framework for programming robots with Microsoft .NET. Cisternino holds a Ph.D. in Computer Science from the University of Pisa.