Introduction to Objective Caml PDF Download
This book presents a practical introduction and guide to Objective Caml, with topics ranging from how to write a program to the concepts and conventions that affect how programs are developed in Objective Caml.
Excerpts from the Preface:
Objective Caml (OCaml) is a popular, expressive, high-performance dialect of ML by a research team at INRIA in France. This book presents a practical introduction and guide to the language. With topics ranging from how to write a program to the concepts and conventions that affect how affect how programs are write in OCaml. The text can be divide into three main parts.
– The core language (Chapters 2–10).
– The module system (Chapters 11–13).
– Objects and class (Chapters 14–17).
This sequence is meant to follow the ordering of concepts need as programs grow in size (though objects and classes can be introduce at any point in the development). It also happens to follow the history of Caml: many of the core concepts were present in Caml and Caml Light in the mid-1980s and early 1990s; Caml Special Light introduced modules in 1995; and Objective Caml added objects and classes in 1996.
This book is mainly for programmers, undergraduate as well as beginning graduate students with some experience programming in a procedural programming language like C or Java, or in some other functional programming language. Some knowledge of basic data structures like lists, stacks, and trees is assumed as well.
The exercises vary in difficulty. They try to provide practice, as well as to investigate language concepts in greater detail. As well as occasionally to introduce special topics not present elsewhere in the text.