aboutsummaryrefslogtreecommitdiff
path: root/mock/Util.hs
diff options
context:
space:
mode:
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"