Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@szabi

This comment has been minimized.

Copy link

@szabi szabi commented Jan 24, 2020

It might be interesting not to look at the % of files using a given pragma, but the % of projects using a given pragma: it might be that only certain files in a project use the pragma, but to work on the project you will sooner or later need to know that extension.

Also, you can define "always-on" extensions in your cabal file. This is used extensively. So the number of .hs files that use/need an extension is much higher than those that declare it as a pragma in the file itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.