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

Typeclass/Variant clarification in Manual #11901

Merged
merged 2 commits into from
Aug 7, 2019

Conversation

awr1
Copy link
Contributor

@awr1 awr1 commented Aug 7, 2019

Resolves #11798.

@awr1 awr1 force-pushed the typeclass-clarify-manual branch 2 times, most recently from 05df931 to faf6a5d Compare August 7, 2019 04:44
@awr1 awr1 force-pushed the typeclass-clarify-manual branch from faf6a5d to 06c8853 Compare August 7, 2019 04:45
Copy link
Collaborator

@mratsim mratsim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good.

If possible, I think the object variant section of the manual should also have sym types, ADTs/Algebraic Data Types, Tagged unions, it can be italicized, see https://github.com/nim-lang/website/pull/157/files.

There are still some confusion from people that know Nim that Nim variants are equivalent to ADTs: https://www.reddit.com/r/rust/comments/clh7pu/rust_reverses_research_ruin/evwnwnc/

@awr1 awr1 force-pushed the typeclass-clarify-manual branch from 207a76c to 4c08413 Compare August 7, 2019 08:44
@Araq Araq merged commit 9321b33 into nim-lang:devel Aug 7, 2019
narimiran pushed a commit that referenced this pull request Aug 12, 2019
* [Docs] clarified what type classes do in manual

* [Docs] fixed 'dynamism', added to object variant section

(cherry picked from commit 9321b33)
narimiran pushed a commit that referenced this pull request Aug 13, 2019
* [Docs] clarified what type classes do in manual

* [Docs] fixed 'dynamism', added to object variant section

(cherry picked from commit 9321b33)
narimiran pushed a commit that referenced this pull request Aug 13, 2019
* [Docs] clarified what type classes do in manual

* [Docs] fixed 'dynamism', added to object variant section

(cherry picked from commit 9321b33)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Doc] [Suggestion] Typeclass/Variant clarification in Manual
3 participants