Haskell in the real world)
Pricing: ¥88.00
Member price: ¥66.00 (off)
This book Details View: http://www.china-pub.com/196399
Haskell in the real world is a quick and easy-to-use guide that introduces you to the increasingly popular programming language. You will learn how to apply Haskell to different practices, from short scripts to demanding large applications. This book explains the basics of functional programming, helping you understand how to apply Haskell in the real world, such as input/output performance, data processing, concurrency, and so on.
Haskell in the real world can help you:
* Understand the differences between procedural and functional programming
* Learn the features of Haskell and how to use it to develop useful programs.
* Interaction with file systems, databases, and network services
* Compile code that can be used for automatic testing, code coverage, and error handling
* Leverage the power of multi-core systems through concurrent and parallel programming
Directory
Preface
1. Getting Started
Your Haskell Environment
Getting started with ghci, the interpreter
Basic interaction: Using ghci as a calculator
Simple arithmetic
An Arithmetic quirk: writing negative numbers
Boolean logic, operators, and value comparisons
Operator precedence and associativity
Undefined values, and introducing Variables
Dealing with precedence and associativity rules
Command-line editing in ghci
Lists
Operators on lists
Strings and characters
First steps with types
A simple program
2. Types and Functions
Why care about types?
Haskell's Type System