OCaml from the Very Beginning

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

In OCaml from the Very Beginning John Whitington takes a no-prerequisites approach to teaching a modern general-purpose programming language. Each small, self-contained chapter introduces a new topic, building until the reader can write quite substantial programs. There are plenty of questions and, crucially, worked answers and hints. OCaml from the Very Beginning will appeal both to new programmers, and experienced programmers eager to explore functional languages such as OCaml. It is suitable both for formal use within an undergraduate or graduate curriculum, and for the interested amateur.

Author(s): John Whitington
Year: 2013

Language: English
Pages: 204
Tags: OCaml

Getting Ready......Page 9
Starting Off......Page 11
Names and Functions......Page 19
Note on Notation......Page 27
Case by Case......Page 29
Making Lists......Page 35
Two Different Ways of Thinking......Page 45
Sorting Things......Page 47
Loading a Program from a File......Page 55
Functions upon Functions upon Functions......Page 57
When Things Go Wrong......Page 65
Looking Things Up......Page 71
More with Functions......Page 77
New Kinds of Data......Page 83
Growing Trees......Page 91
In and Out......Page 99
Putting Things in Boxes......Page 109
The Other Numbers......Page 121
The OCaml Standard Library......Page 127
Building Bigger Programs......Page 133
Answers to Questions......Page 143
Hints for Questions......Page 189
Index......Page 197