Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polymorphic variant typo in Manual #5850

Closed
vicuna opened this issue Dec 8, 2012 · 1 comment
Closed

Polymorphic variant typo in Manual #5850

vicuna opened this issue Dec 8, 2012 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Dec 8, 2012

Original bug ID: 5850
Reporter: micinski
Status: closed (set by @damiendoligez on 2013-02-19T10:54:38Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 4.00.0
Category: documentation

Bug description

In 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)).

@vicuna
Copy link
Author

vicuna commented Feb 19, 2013

Comment author: @damiendoligez

fixed (commit 13302)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant