summaryrefslogtreecommitdiff
path: root/libraries/base/Control
diff options
context:
space:
mode:
authorBaldur Blöndal <baldurpet@gmail.com>2020-04-21 21:57:35 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-05-08 15:29:32 -0400
commit9749fe1223d182b1f8e7e4f7378df661c509f396 (patch)
tree5077b596f274ff179075028dbbb72bf836eacf43 /libraries/base/Control
parent66f0a847255f15ec656a37d639556b7918f6aac2 (diff)
downloadhaskell-9749fe1223d182b1f8e7e4f7378df661c509f396.tar.gz
Specify kind variables for inferred kinds in base.
Diffstat (limited to 'libraries/base/Control')
-rw-r--r--libraries/base/Control/Arrow.hs4
-rw-r--r--libraries/base/Control/Category.hs4
2 files changed, 4 insertions, 4 deletions
diff --git a/libraries/base/Control/Arrow.hs b/libraries/base/Control/Arrow.hs
index eec25a3179..56fa82e161 100644
--- a/libraries/base/Control/Arrow.hs
+++ b/libraries/base/Control/Arrow.hs
@@ -1,8 +1,8 @@
-{-# LANGUAGE Trustworthy #-}
-{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE DeriveFunctor #-}
{-# LANGUAGE DeriveGeneric #-}
+{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE StandaloneDeriving #-}
+{-# LANGUAGE Trustworthy #-}
{-# OPTIONS_GHC -Wno-inline-rule-shadowing #-}
-- The RULES for the methods of class Arrow may never fire
-- e.g. compose/arr; see #10528
diff --git a/libraries/base/Control/Category.hs b/libraries/base/Control/Category.hs
index c033c7618e..14584bdc0c 100644
--- a/libraries/base/Control/Category.hs
+++ b/libraries/base/Control/Category.hs
@@ -1,7 +1,7 @@
-{-# LANGUAGE Trustworthy #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE PolyKinds #-}
+{-# LANGUAGE Trustworthy #-}
{-# OPTIONS_GHC -Wno-inline-rule-shadowing #-}
-- The RULES for the methods of class Category may never fire
-- e.g. identity/left, identity/right, association; see #10528
@@ -20,7 +20,7 @@
module Control.Category where
-import qualified GHC.Base (id,(.))
+import qualified GHC.Base (id, (.))
import Data.Type.Coercion
import Data.Type.Equality
import Data.Coerce (coerce)