Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
7Activity
0 of .
Results for:
No results containing your search query
P. 1
Ocaml 3.11 Ref and Manual

Ocaml 3.11 Ref and Manual

Ratings:

4.5

(2)
|Views: 3,478|Likes:
Published by sahil gupta
Documentation and user’s manual
Xavier Leroy
(with Damien Doligez, Jacques Garrigue, Didier R´emy and J´erˆome Vouillon)
Documentation and user’s manual
Xavier Leroy
(with Damien Doligez, Jacques Garrigue, Didier R´emy and J´erˆome Vouillon)

More info:

Published by: sahil gupta on Jul 10, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/11/2014

pdf

text

original

 
The Objective Caml systemrelease 3.11
Documentation and user’s manual
Xavier Leroy(with Damien Doligez, Jacques Garrigue, Didier emy and erˆome Vouillon)November 26, 2008
Copyrightc
2008 Institut National de Recherche en Informatique et en Automatique
 
2
 
Contents
1.1 Basics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111.2 Data types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121.3 Functions as values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131.4 Records and variants. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141.5 Imperative features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161.6 Exceptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181.7 Symbolic processing of expressions. . . . . . . . . . . . . . . . . . . . . . . . . . . 191.8 Pretty-printing and parsing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201.9 Standalone Caml programs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.1 Structures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252.2 Signatures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262.3 Functors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272.4 Functors and type abstraction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292.5 Modules and separate compilation. . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.1 Classes and objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333.2 Immediate objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363.3 Reference to self . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373.4 Initializers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383.5 Virtual methods. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383.6 Private methods. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403.7 Class interfaces. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423.8 Inheritance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433.9 Multiple inheritance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443.10 Parameterized classes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443.11 Polymorphic methods. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473.12 Using coercions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503.13 Functional objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 543.14 Cloning objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 553.15 Recursive classes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 581

Activity (7)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Ojojsoao liked this
Ryan Prichard liked this
minhhoang liked this
elsooz liked this
Leyoisrael liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->