Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005496OCamlOCaml documentationpublic2012-01-30 19:132013-08-31 12:46
Reporterkosik 
Assigned Toprotz 
PrioritynormalSeveritytrivialReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version3.12.1 
Target VersionFixed in Version 
Summary0005496: Incomplete information in Section 7.2 of the Reference Manual
DescriptionSection 7.2 of the Reference Manual:

  http://caml.inria.fr/pub/docs/manual-ocaml/manual021.html#toc69 [^]

instructs the reader to perform:

  #load "camlp4o.cma";;

if he wants to take advantage of syntactic sugar for stream literals.

That does not seem to be enough.
Steps To ReproduceIf one tries, one will get an error message:

  Error: Reference to undefined global `Dynlink'

The complete instructions are, e.g.:

  $ rlwrap ocaml
  # #load "dynlink.cma";;
  # #load "camlp4o.cma";;

Then we can use stream literals:

  # [< '3 >];;
  - : int Stream.t = <abstr>
TagsNo tags attached.
Attached Files

- Relationships
has duplicate 0004833closed The documentation fails to mention that you must #load "dynlink.cma";; 
related to 0005261closed Parse errors reported by toplevel for code of section 1.8 

-  Notes
(0006856)
protz (manager)
2012-01-31 10:21

Fixed in r12107, will probably appear online as soon as the manual is re-generated, maybe for the next version of OCaml.

- Issue History
Date Modified Username Field Change
2012-01-30 19:13 kosik New Issue
2012-01-31 10:21 protz Note Added: 0006856
2012-01-31 10:21 protz Status new => resolved
2012-01-31 10:21 protz Resolution open => fixed
2012-01-31 10:21 protz Assigned To => protz
2012-02-01 13:58 protz Relationship added has duplicate 0004833
2012-02-01 13:59 protz Relationship added related to 0005261
2013-08-31 12:46 xleroy Status resolved => closed


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker