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

Add boolean functions to check whether the extension is enabled or disabled #64

Open
chshersh opened this issue Jun 7, 2020 · 0 comments
Labels
enhancement New feature or request idea 💡 RFC, feature ideas question Further information is requested

Comments

@chshersh
Copy link
Contributor

chshersh commented Jun 7, 2020

Sometimes it's helpful to have a function:

isEnabled :: Extension -> Set OnOffExtension -> Bool

That checks whether there's On for the particular given extension.

Does it sound useful? For now, I propose not to think about the fact that some extensions can imply other extensions, this is another whole story..

@chshersh chshersh added enhancement New feature or request idea 💡 RFC, feature ideas question Further information is requested labels Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request idea 💡 RFC, feature ideas question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant