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

Simplify logic rules #37

Open
tomek-he-him opened this issue Oct 20, 2015 · 0 comments
Open

Simplify logic rules #37

tomek-he-him opened this issue Oct 20, 2015 · 0 comments
Labels

Comments

@tomek-he-him
Copy link

The concept “the boolean type can only be used internally” is conceptually quite complicated. How about saying three things:

  • true is just 1 and false is just 0.
  • In logical expressions we treat 0 as no – and any other number as yes.
  • Any yes/no operator like < or and returns 1 or 0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant