To use a language extension, such as UnicodeSyntaxin all project files, 2 options are available:
- Pragma in each source file:
{-# LANGUAGE UnicodeSyntax #-} - Adding a
extensions: UnicodeSyntaxfile to each section (library, executable file, test) .cabal.
Are there any reasons or recommendations for choosing one of them?
I use stacktheir standard new-templatefor simple packages.
source
share