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

Letting the user input arbitrary Text in default-extensions #181

Open
freuk opened this issue Aug 13, 2019 · 2 comments
Open

Letting the user input arbitrary Text in default-extensions #181

freuk opened this issue Aug 13, 2019 · 2 comments

Comments

@freuk
Copy link

freuk commented Aug 13, 2019

Hi, first of all thanks for working on this openly, it's useful :)

Cabal passes extensions that are not in its KnownExtensions type onwards with a simple warning:

Warning: Unknown extensions: DerivingVia

It would be convenient to be able to allow arbitrary text values for extensions at the Dhall level, additionally to the types generated from KnownExtensions in Extension.dhall by the "meta" code.
Very low priority I guess, since the workaround ({-# LANGUAGE <ext> #-}) is straightforward.

@ocharles
Copy link
Member

This seems perfectly reasonable. I'd be open to a Other : Text alternative, and would take a PR adding that. It's unlikely I myself will have time to implement this any time soon, though.

@freuk
Copy link
Author

freuk commented Aug 13, 2019

Great - will try my hand at this one.

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

2 participants