Declare language extensions via `{-# LANGUAGE -#}`
authorHerbert Valerio Riedel <hvr@gnu.org>
Sat, 12 Oct 2013 11:01:50 +0000 (13:01 +0200)
committerHerbert Valerio Riedel <hvr@gnu.org>
Sat, 12 Oct 2013 11:01:50 +0000 (13:01 +0200)
commit43de23c79db9e6e9a6de984b964cc9bdf74e50c2
tree57179f113ca818097ab3c19fba59a6535ef34c11
parent6944df0d5bd6899ff61811f23cd4c03d1f595db3
Declare language extensions via `{-# LANGUAGE -#}`

Only language extensions not active when `-XHaskell2010` is enabled are
declared, this way we can drop many redundant
`{-# LANGUAGE ForeignFunctionInterface #-}` occurences. This commit also
removes/replaces some `{-# OPTIONS_GHC -XRecordWildCards #-}` pragmas.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
34 files changed:
System/Posix.hs
System/Posix/ByteString.hs
System/Posix/Directory.hsc
System/Posix/Directory/ByteString.hsc
System/Posix/Directory/Common.hsc
System/Posix/DynamicLinker/Module.hsc
System/Posix/DynamicLinker/Module/ByteString.hsc
System/Posix/DynamicLinker/Prim.hsc
System/Posix/Env.hsc
System/Posix/Env/ByteString.hsc
System/Posix/Error.hs
System/Posix/Files.hsc
System/Posix/Files/Common.hsc
System/Posix/IO.hsc
System/Posix/IO/ByteString.hsc
System/Posix/IO/Common.hsc
System/Posix/Process.hsc
System/Posix/Process/ByteString.hsc
System/Posix/Process/Common.hsc
System/Posix/Process/Internals.hs
System/Posix/Resource.hsc
System/Posix/Semaphore.hsc
System/Posix/SharedMem.hsc
System/Posix/Signals.hsc
System/Posix/Signals/Exts.hsc
System/Posix/Temp.hsc
System/Posix/Temp/ByteString.hsc
System/Posix/Terminal.hsc
System/Posix/Terminal/ByteString.hsc
System/Posix/Terminal/Common.hsc
System/Posix/Time.hsc
System/Posix/Unistd.hsc
System/Posix/User.hsc
tests/signals001.hs