Introduction to Programming in Haskell

28/08/00


Klicka här för att starta


Innehållsförteckning

Introduction to Programming in Haskell

Software

Data

Programs

Building Software Systems

Programming Languages

Which Language Should We Teach?

Why Haskell?

Industrial Uses of Functional Languages

Why Do Old Languages Survive?

Functional Programming

Values and Expressions

Operations

Functions

Definitions and Types

Function Definitions

Function Notation

Functional Programming

A Tour of Some Basic Types

Types: Integers

Types: Real Numbers

Types: Lists

Quiz

Quiz

Types: Strings

Quiz

Quiz

Types: Commands

Quiz

Quiz

Effects of Commands

Combining Commands

Types: Functions

Function Composition

The map Function

”Higher-Order” Functions

Putting it Together: A Friendly Email Sender

Storing Email Addresses

What Components Can We Reuse?

Our Plan: To Send Email to John

How Can We Run Another Program?

How Can We Extract the Email Address?

Putting it all Together

Course Text Book

Course Web Pages

Författare: John Hughes

E-post: rjmh@cs.chalmers.se

Hemsida: www.cs.chalmers.se/~rjmh