File: manual030.html

package info (click to toggle)
ocaml-doc 2.04-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,820 kB
  • ctags: 997
  • sloc: makefile: 38; sh: 12
file content (82 lines) | stat: -rw-r--r-- 4,501 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
            "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset= ISO-8859-1">
<TITLE>
 The standard library
</TITLE>
</HEAD>
<BODY >
<A HREF="manual029.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="manual060.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
<A HREF="index.html"><IMG SRC ="contents_motif.gif" ALT="Contents"></A>
<HR>

<H1>Chapter&nbsp;17:&nbsp;&nbsp; The standard library</H1>
This chapter describes the functions provided by the Caml Light
standard library. The modules from the standard library are
automatically linked with the user's object code files by the <TT>ocamlc</TT>
command. Hence, these modules can be used in standalone programs without
having to add any <TT>.cmo</TT> file on the command line for the linking
phase. Similarly, in interactive use, these globals can be used in
toplevel phrases without having to load any <TT>.cmo</TT> file in memory.<BR>
<BR>
Unlike the <TT>Pervasive</TT> module from the core library, the modules from the
standard library are not automatically ``opened'' when a compilation
starts, or when the toplevel system is launched. Hence it is necessary
to use qualified identifiers to refer to the functions provided by these
modules, or to add <TT>open</TT> directives.<A NAME="stdlib:top"></A><BR>
<BR>

<H2>Conventions</H2>For easy reference, the modules are listed below in alphabetical order
of module names.
For each module, the declarations from its signature are printed
one by one in typewriter font, followed by a short comment.
All modules and the identifiers they export are indexed at the end of
this report.<BR>
<BR>
<BR>
<BR>


<UL>
<LI><A HREF="manual031.html"> Module <TT>Arg</TT>: parsing of command line arguments</A>
<LI><A HREF="manual032.html"> Module <TT>Array</TT>: array operations</A>
<LI><A HREF="manual033.html"> Module <TT>Buffer</TT>: extensible string buffers</A>
<LI><A HREF="manual034.html"> Module <TT>Callback</TT>: registering Caml values with the C runtime</A>
<LI><A HREF="manual035.html"> Module <TT>Char</TT>: character operations</A>
<LI><A HREF="manual036.html"> Module <TT>Digest</TT>: MD5 message digest</A>
<LI><A HREF="manual037.html"> Module <TT>Filename</TT>: operations on file names</A>
<LI><A HREF="manual038.html"> Module <TT>Format</TT>: pretty printing</A>
<LI><A HREF="manual039.html"> Module <TT>Gc</TT>: memory management control and statistics</A>
<LI><A HREF="manual040.html"> Module <TT>Genlex</TT>: a generic lexical analyzer</A>
<LI><A HREF="manual041.html"> Module <TT>Hashtbl</TT>: hash tables and hash functions</A>
<LI><A HREF="manual042.html"> Module <TT>Lazy</TT>: deferred computations.</A>
<LI><A HREF="manual043.html"> Module <TT>Lexing</TT>: the run-time library for lexers generated by <TT>ocamllex</TT></A>
<LI><A HREF="manual044.html"> Module <TT>List</TT>: list operations</A>
<LI><A HREF="manual045.html"> Module <TT>Map</TT>: association tables over ordered types</A>
<LI><A HREF="manual046.html"> Module <TT>Marshal</TT>: marshaling of data structures</A>
<LI><A HREF="manual047.html"> Module <TT>Oo</TT>: object-oriented extension</A>
<LI><A HREF="manual048.html"> Module <TT>Parsing</TT>: the run-time library for parsers generated by <TT>ocamlyacc</TT></A>
<LI><A HREF="manual049.html"> Module <TT>Printexc</TT>: a catch-all exception handler</A>
<LI><A HREF="manual050.html"> Module <TT>Printf</TT>: formatting printing functions</A>
<LI><A HREF="manual051.html"> Module <TT>Queue</TT>: first-in first-out queues</A>
<LI><A HREF="manual052.html"> Module <TT>Random</TT>: pseudo-random number generator</A>
<LI><A HREF="manual053.html"> Module <TT>Set</TT>: sets over ordered types</A>
<LI><A HREF="manual054.html"> Module <TT>Sort</TT>: sorting and merging lists</A>
<LI><A HREF="manual055.html"> Module <TT>Stack</TT>: last-in first-out stacks</A>
<LI><A HREF="manual056.html"> Module <TT>Stream</TT>: streams and parsers</A>
<LI><A HREF="manual057.html"> Module <TT>String</TT>: string operations</A>
<LI><A HREF="manual058.html"> Module <TT>Sys</TT>: system interface</A>
<LI><A HREF="manual059.html"> Module <TT>Weak</TT>: arrays of weak pointers</A>
</UL>

<BR>
<BR>
<HR>
<A HREF="manual029.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="manual060.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
<A HREF="index.html"><IMG SRC ="contents_motif.gif" ALT="Contents"></A>
</BODY>
</HTML>