没有合适的资源?快使用搜索试试~ 我知道了~
Haskell - The Craft of Functional Programming, 2ed(带书签)
5星 · 超过95%的资源 需积分: 16 48 下载量 41 浏览量
2010-05-03
16:57:40
上传
评论 1
收藏 13.62MB PDF 举报
温馨提示
试读
504页
Haskell - The Craft of Functional Programming, 2ed (Addison-Wesley, 1999) by Tantanoid 已加书签
资源推荐
资源详情
资源评论
Haskell
The
Craft of
Functional
Proa
ramming
Second
edition
Simon
Thompson
Addison-Wesley
An
imprint
of
Pearson
Education
Harlow, England
.
London
.
New York Reading, Massachusetts
-
San Francisco. Toronto
.
Don Mills, Ontario
.
Sydney
Tokyo. Singapore
.
Hong Kong
.
Seoul
.
Taipei
.
Cape Town
.
Madrid
.
Mexico
City .
Amsterdam
.
Munich
.
Paris
.
Milan
To
Alice
and
Rory
Contents
Preface
1
Introducing functional programming
Computers and modelling
What
is
a function?
Pictures and functions
TY pes
The Haskell programming language
Expressions and evaluation
Definitions
Function definitions
Looking forward: a model of pictures
Proof
Types and functional programming
Calculation and evaluation
2
Getting started with Haskell and Hugs
2.1
A
first Haskell program
2.2 Using Hugs
2.3
The standard prelude and the Haskell libraries
2.4 Modules
2.5
A
second example:
Pictures
2.6 Errors and error messages
xii
3
Basic types and definitions
vii
viii
Contents
3.1 The Booleans:
Boo1
3.2 The integers:
Int
3.3
Overloading
3.4 Guards
3.5 The characters:
Char
3.6 Floating-point numbers:
Float
3.7 Syntax
4
Designing and
writing
programs
4.1
Where
do
I
start? Designing a program in Haskell
4.2 Recursion
4.3 Primitive recursion in practice
4.4 General forms of recursion
4.5 Program testing
5
Data types: tuples and lists
5.1
Introducing tuples, lists and strings
5.2 Tuple types
5.3 Our approach to lists
5.4 Lists in Haskell
5.5 List comprehensions
5.6
A
library database
5.7 Generic functions: polymorphism
5.8
Haskell list functions in
Prelude.
hs
5.9 The
string
type
6
Programming
with
lists
6.1 The
Picture
example, revisited
6.2 Extended exercise: positioned pictures
6.3 Local definitions
6.4 Extended exercise: supermarket billing
7
Defining functions over lists
7.1 Pattern matching revisited
7.2 Lists and
list
patterns
7.3 Primitive recursion over
lists
7.4 Finding primitive recursive definitions
7.5 General recursions over lists
7.6 Example: text processing
8
Reasoning about programs
8.1 Understanding definitions
8.2 Testing and proof
剩余503页未读,继续阅读
资源评论
- 学生爸爸2018-10-09还可以,哈哈哈
- neodoxy2013-08-14Haskell学习的好材料
noodle1983
- 粉丝: 2
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功