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

Update the semantics for sentence truthiness #141

Open
matgrioni opened this issue Jun 21, 2023 · 0 comments
Open

Update the semantics for sentence truthiness #141

matgrioni opened this issue Jun 21, 2023 · 0 comments
Assignees

Comments

@matgrioni
Copy link
Collaborator

matgrioni commented Jun 21, 2023

Because sentences are actually sequences, they also have a truthy interpretation. However this interpretation is based on Tokens only. Should comments be included in this? Should sentences even have this ability to be casted to truthy expressions this way. It actually may be better to exclusively support the APIs that actually make sense (like __getitem__ and __iter__).

@matgrioni matgrioni self-assigned this Jun 21, 2023
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

1 participant