Skip to content

Chore: update extensions list#1677

Open
michivi wants to merge 1 commit intohaskell-servant:masterfrom
michivi:tle/update-extensions-list
Open

Chore: update extensions list#1677
michivi wants to merge 1 commit intohaskell-servant:masterfrom
michivi:tle/update-extensions-list

Conversation

@michivi
Copy link
Copy Markdown
Contributor

@michivi michivi commented Apr 16, 2023

This PR:

Comment thread servant/servant.cabal
, ConstraintKinds
, DataKinds
, DeriveDataTypeable
, DeriveFunctor
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did this need to get turned on?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't actually need it here. But I thought I'd stay consistent with the other extensions in other-extensions: if the extensions is enabled in some source file, not in Haskell2010 and not "protected" by CPP, then list it here.
Is there a different logic for listing them here?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think there is really any system to the extensions enabled. I think it would be best to fix the failing query string test on master first. But I do think this looks sensible. Is TypeFamilyDependencies added for the same reason?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. This one is explicitly enabled for servant/src/Servant/API/ResponseHeaders.hs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Check other-extensions field

3 participants