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

Consider adding a way to represent empty strings #34

Open
Infernio opened this issue Jun 1, 2022 · 0 comments
Open

Consider adding a way to represent empty strings #34

Infernio opened this issue Jun 1, 2022 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@Infernio
Copy link
Member

Infernio commented Jun 1, 2022

We may need them for command defaults. Note that #19's fourth example used to have empty strings as defaults, but I had to change those since we don't accept them.

Another option would be to add support for passing empty strings as arguments, but then we run into the problem of parser ambiguities (which was why I dropped that in the first place).

So probably better to come up with some way to represent empty strings (at least for defaults). Maybe something like ∅ (see Null sign)? Users won't really have to ever enter it, so it being fancy Unicode stuff doesn't really hurt.

@Infernio Infernio added the enhancement New feature or request label Jun 1, 2022
@Infernio Infernio modified the milestone: v0.2.0 Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant