Google
 

A Gentle Introduction to ML (Andrew Cumming)

Introductions

* Functional languages are introduced.
* Advice on how to use this document is given and CAL is dismissed.
* Contributions from readers are presented.

Lesson One

* "Hello World" is our first program.
* Tutorial One concerns expressions and simple functions.
* Diversion: The Reconcilation Ball
* Self Test One: some multiple choice question to try.

Lesson Two

* Types, bindings, pattern matching and lists are all introduced
* Tutorial two
* Diversion: Bitmaps
* Self Test Two.

Lesson Three

* More on types, Currying and recursion
* Tutorial Three (simple recursion on integers)
* Diversion: The Mandelbrot Set
* Self Test Three.

Lesson Four

* List processing.
* Tutorial Four (list and more lists)

Lesson Five

* Incompleteness, Overlapping Left Hand Sides, Conditions, Anonymous Functions.
* Tutorial Five (even more recursion)
* Diversion: Language Translation.

Lesson Six

* Common recursive patterns, map, reduce, zip
* Tutorial Six (higher order programming)
* Diversion: Bus routes
* Diversion: Election Special

Lesson Seven

* Creating data types
* Tutorial Seven (Queues)

Lesson Eight

* Various tricks of the trade: accumulating parameters, mutual recursion, nested definitions.
* Tutorial Eight (accumulate)

To Download this E-Book Click Here.

Reply

The content of this field is kept private and will not be shown publicly.