
On 7 June 2015 at 09:20, Ivan Lazar Miljenovic
On 7 June 2015 at 08:21, Sven Panne
wrote: That's exactly what I'm asking for: A new {-# LANGUAGE FunkyImports #-} pragma (name to be decided ;-), which must be mentioned in a cabal file's "extension:" field (https://www.haskell.org/cabal/users-guide/developing-packages.html#creating-...). Failing to mention a language extension is just as wrong as declaring wrong bounds.
I was under the impression that the "extension:" fields were only used for extensions that were used by every module in the package. From that link:
Extensions used only by one module may be specified by placing a LANGUAGE pragma in the source file affected,
Oh, and just to chime in on the voting, I'm -1 (I don't think the current syntax is ideal, but I'm not a fan of the proposal. Does this come under the power of 1 by Wadler's Law? ;-) -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com http://IvanMiljenovic.wordpress.com