aboutsummaryrefslogtreecommitdiff
path: root/hoogle-test/src
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2018-04-24 11:20:09 -0400
committerRyan Scott <ryan.gl.scott@gmail.com>2018-04-24 11:20:11 -0400
commitb347a8c47edafa6bb3df7d35f0189619294831c4 (patch)
tree2b2a4c11dd751d08da0d4aec3916450b9060e18b /hoogle-test/src
parent7fb3dc8ed5b04dce61c83ec482683c646bf788a5 (diff)
Add regression test for #413
Fixes #413.
Diffstat (limited to 'hoogle-test/src')
-rw-r--r--hoogle-test/src/type-sigs/ReaderT.hs3
-rw-r--r--hoogle-test/src/type-sigs/ReaderTReexport.hs3
2 files changed, 6 insertions, 0 deletions
diff --git a/hoogle-test/src/type-sigs/ReaderT.hs b/hoogle-test/src/type-sigs/ReaderT.hs
new file mode 100644
index 00000000..009c7ed2
--- /dev/null
+++ b/hoogle-test/src/type-sigs/ReaderT.hs
@@ -0,0 +1,3 @@
+module ReaderT where
+
+newtype ReaderT r m a = ReaderT { runReaderT :: r -> m a }
diff --git a/hoogle-test/src/type-sigs/ReaderTReexport.hs b/hoogle-test/src/type-sigs/ReaderTReexport.hs
new file mode 100644
index 00000000..21fa44ee
--- /dev/null
+++ b/hoogle-test/src/type-sigs/ReaderTReexport.hs
@@ -0,0 +1,3 @@
+module ReaderTReexport (ReaderT(..), runReaderT) where
+
+import ReaderT