aboutsummaryrefslogtreecommitdiff
path: root/utils/CC/Pretty.hs
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2020-06-10 19:59:03 +0200
committerTom Smeding <tom.smeding@gmail.com>2020-06-10 19:59:13 +0200
commitbc52411ae2ed26cab1d5086ae6df68f23ebbd052 (patch)
tree365e7bab678bb46981befe5b2a1c0c967a9a9c57 /utils/CC/Pretty.hs
Initial state I found the code in
Diffstat (limited to 'utils/CC/Pretty.hs')
-rw-r--r--utils/CC/Pretty.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/CC/Pretty.hs b/utils/CC/Pretty.hs
new file mode 100644
index 0000000..0a41abe
--- /dev/null
+++ b/utils/CC/Pretty.hs
@@ -0,0 +1,9 @@
+module CC.Pretty where
+
+
+class Pretty a where
+ pretty :: a -> String
+
+
+instance Pretty Int where
+ pretty = show