aboutsummaryrefslogtreecommitdiff
path: root/mock/Util.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2021-05-16 14:01:15 +0200
committerTom Smeding <tom@tomsmeding.com>2021-05-16 14:01:15 +0200
commit7d0797d622d1165c06a1d41df6943c8daefa8102 (patch)
tree4b4224295e77aa9b544187302875f7087a764920 /mock/Util.hs
parente8b87640c32706719658a9d047c7295065f681a9 (diff)
WIP doesn't build but was in stashhaskell-mock
Diffstat (limited to 'mock/Util.hs')
-rw-r--r--mock/Util.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/mock/Util.hs b/mock/Util.hs
new file mode 100644
index 0000000..be12f56
--- /dev/null
+++ b/mock/Util.hs
@@ -0,0 +1,8 @@
+module Util where
+
+
+newtype Opaque a = Opaque { unOpaque :: a }
+ deriving (Eq, Ord)
+
+instance Show (Opaque a) where
+ show _ = "Opaque"