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

Variants Example with Uppercase Fails #4

Open
adrianmcli opened this issue Feb 8, 2017 · 4 comments
Open

Variants Example with Uppercase Fails #4

adrianmcli opened this issue Feb 8, 2017 · 4 comments

Comments

@adrianmcli
Copy link

Example does not work:

type Visibility = 
         | All
         | Active
         | Completed;

The type identifier must be lowercased. This will work:

type visibility = 
         | All
         | Active
         | Completed;
@kennetpostigo
Copy link
Owner

Good catch!

@adrianmcli
Copy link
Author

In the Linked List section, there is an example:

Reason # Node 42 None;

This should read like this instead:

Reason # Node 42 Empty;

Since the type definition used Empty and not None.

@kennetpostigo
Copy link
Owner

Can you open the linked list one in a separate issue?

@adrianmcli
Copy link
Author

Sure.

@adrianmcli adrianmcli changed the title Variants Variants Example with Uppercase Fails Feb 8, 2017
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

No branches or pull requests

2 participants