Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005850OCamlOCaml documentationpublic2012-12-08 19:412013-02-19 11:54
Reportermicinski 
Assigned To 
PrioritynormalSeverityminorReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version4.00.0 
Target VersionFixed in Version 
Summary0005850: Polymorphic variant typo in Manual
DescriptionIn the Manual, Chapter 4 on Polymorphic variants reads as follows:

"That is, if you have defined type myvariant = [`Tag1 int | `Tag2 bool], then the pattern #myvariant is equivalent to writing (`Tag1(_ : int) | `Tag2(_ : bool))."

However, this is not correct, it should read:

That is, if you have defined type myvariant = [`Tag1 of int | `Tag2 of bool], then the pattern #myvariant is equivalent to writing (`Tag1(_ : int) | `Tag2(_ : bool)).
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0008870)
doligez (administrator)
2013-02-19 11:54

fixed (commit 13302)

- Issue History
Date Modified Username Field Change
2012-12-08 19:41 micinski New Issue
2013-02-19 11:54 doligez Note Added: 0008870
2013-02-19 11:54 doligez Status new => closed
2013-02-19 11:54 doligez Resolution open => fixed


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker