Skip to content

Instantly share code, notes, and snippets.

@atondwal
Last active July 1, 2022 11:13
Show Gist options
  • Save atondwal/ee869b951b5cf9b6653f7deda0b7dbd8 to your computer and use it in GitHub Desktop.
Save atondwal/ee869b951b5cf9b6653f7deda0b7dbd8 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@szabi
Copy link

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