srid / neuron

Future-proof note-taking and publishing based on Zettelkasten (superseded by Emanote: https://github.com/srid/emanote)
https://neuron.zettel.page
GNU Affero General Public License v3.0
1.52k stars 150 forks source link

Move LANGUAGE pragmas from .hs files to .cabal files #587

Closed srid closed 3 years ago

srid commented 3 years ago

For eg: https://github.com/srid/neuron/blob/6917658af7f6aeb0848cd4ccc07af57c619b536f/src/Neuron/Config.hs#L1-L13

The bulk of these can be moved to neuron.cabal under default-extensions.

Make sure that this doesn't break bin/* scripts or HLS.

cf. https://kowainik.github.io/posts/extensions#cabal-default-extensions-per-stanza