summaryrefslogtreecommitdiff
path: root/libraries/base/Foreign
diff options
context:
space:
mode:
authorHécate <hecate+gitlab@glitchbra.in>2020-08-01 18:40:12 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-08-05 04:01:15 -0400
commiteb7013c3037538aa9c947a21dbbfd7c297929ac8 (patch)
treebf0c1471f24ffe068559405be11d863033aea473 /libraries/base/Foreign
parent53ce0db5a06598c88c6b8cb32043b878e7083dd4 (diff)
downloadhaskell-eb7013c3037538aa9c947a21dbbfd7c297929ac8.tar.gz
Remove all the unnecessary LANGUAGE pragmas
Diffstat (limited to 'libraries/base/Foreign')
-rw-r--r--libraries/base/Foreign/C/Types.hs2
-rw-r--r--libraries/base/Foreign/Ptr.hs1
2 files changed, 0 insertions, 3 deletions
diff --git a/libraries/base/Foreign/C/Types.hs b/libraries/base/Foreign/C/Types.hs
index 29a4498566..e2907ca2d8 100644
--- a/libraries/base/Foreign/C/Types.hs
+++ b/libraries/base/Foreign/C/Types.hs
@@ -1,9 +1,7 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
-{-# LANGUAGE MagicHash #-}
{-# LANGUAGE NoImplicitPrelude #-}
-{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE Trustworthy #-}
{-# OPTIONS_GHC -Wno-unused-binds #-}
-- XXX -Wno-unused-binds stops us warning about unused constructors,
diff --git a/libraries/base/Foreign/Ptr.hs b/libraries/base/Foreign/Ptr.hs
index 6a8170baea..6efe8908cf 100644
--- a/libraries/base/Foreign/Ptr.hs
+++ b/libraries/base/Foreign/Ptr.hs
@@ -3,7 +3,6 @@
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE MagicHash #-}
{-# LANGUAGE NoImplicitPrelude #-}
-{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE Trustworthy #-}
-----------------------------------------------------------------------------