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

Enable empty sequences that evaluate to the empty string. #27

Merged
merged 1 commit into from
Jan 21, 2024

Conversation

b78
Copy link
Contributor

@b78 b78 commented Feb 13, 2022

Use case:

color = fg.red if warning else fg.none
...
color(message)

@b78 b78 changed the title ✨ Make the empty sequence return nothing, such that Enable empty sequences that evaluate to the empty string. Feb 13, 2022
@b78
Copy link
Contributor Author

b78 commented Feb 23, 2022

ping @jquast

@jquast jquast merged commit ebf7574 into tehmaze:master Jan 21, 2024
@jquast
Copy link
Collaborator

jquast commented Jan 21, 2024

thanks

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