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

Burninate the synonyms true, false, and nil #1156

Merged
merged 1 commit into from
Nov 27, 2016

Conversation

Kodiologist
Copy link
Member

@Kodiologist Kodiologist commented Nov 24, 2016

Per the straw poll in #908, as an alternative to #1147.

Now you must use True, False, and None, as in Python. Or just assign true to True, etc.; the old synonyms aren't reserved words anymore.

I got rid of nil?, too, since we also have none?.

Per the straw poll in hylang#908, as an alternative to hylang#1147.

Now you must use `True`, `False`, and `None`, as in Python. Or just assign `true` to `True`, etc.; the old synonyms aren't reserved words anymore.
@tuturto
Copy link
Contributor

tuturto commented Nov 25, 2016

Looks good, I didn't spot any problems with change (albeit it's lots of change). We can deal with flake8 errors in a separate PR I think.

@gilch
Copy link
Member

gilch commented Nov 27, 2016

@Kodiologist you missed some in the style guide.

@Kodiologist
Copy link
Member Author

@gilch I just searched for true, false, and nil in docs/style-guide.rst and I didn't find anything.

@gilch
Copy link
Member

gilch commented Nov 27, 2016

My bad, I was on the wrong branch.

@gilch gilch merged commit c5ccd6c into hylang:master Nov 27, 2016
@Kodiologist Kodiologist deleted the bool-spelling-2 branch November 27, 2016 01:04
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.

3 participants