summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorHécate <hecate+gitlab@glitchbra.in>2020-07-06 01:32:15 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-07-18 07:26:43 -0400
commite6cf27dfded59fe42bd6be323573c0d576e6204a (patch)
treecac89a332670a602871071e1983d3275320e4ce2 /libraries
parent6ba6a881c58459008f02fb4816f8dec2800c2b73 (diff)
downloadhaskell-e6cf27dfded59fe42bd6be323573c0d576e6204a.tar.gz
Add a Lint hadrian rule and an .hlint.yaml file in base/
Diffstat (limited to 'libraries')
-rw-r--r--libraries/base/.hlint.yaml5
-rw-r--r--libraries/base/Unsafe/Coerce.hs2
2 files changed, 6 insertions, 1 deletions
diff --git a/libraries/base/.hlint.yaml b/libraries/base/.hlint.yaml
new file mode 100644
index 0000000000..f596a4a30b
--- /dev/null
+++ b/libraries/base/.hlint.yaml
@@ -0,0 +1,5 @@
+# HLint configuration file
+# https://github.com/ndmitchell/hlint
+##########################
+
+- ignore: {}
diff --git a/libraries/base/Unsafe/Coerce.hs b/libraries/base/Unsafe/Coerce.hs
index 23710c5963..9cd9ef8896 100644
--- a/libraries/base/Unsafe/Coerce.hs
+++ b/libraries/base/Unsafe/Coerce.hs
@@ -308,4 +308,4 @@ unsafeCoerce# = error "GHC internal error: unsafeCoerce# not unfolded"
-- unsafeCoerce version of the amap/coerce rule defined in GHC.Arr
"amap/unsafeCoerce" amap unsafeCoerce = unsafeCoerce
-#-}
+ #-}