Skip to content

Conversation

@kevindecapite
Copy link

The paragraph above the examples states:

By default, cases are not intrinsically backed by a scalar value. That is, Suit::Hearts is not equal to "0". Instead, each case is backed by a singleton object of that name.

This new example demonstrates that more clearly than the others.

The paragraph above explicitly states that "cases are not intrinsically backed by a scalar value"; this example demonstrates that more clearly than the others.
@lacatoire
Copy link
Contributor

LGTM, nice addition @kevindecapite

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.

2 participants