summaryrefslogtreecommitdiff
path: root/hosts/surtr/email/spm/lib/Data/UUID/Instances.hs
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/surtr/email/spm/lib/Data/UUID/Instances.hs')
-rw-r--r--hosts/surtr/email/spm/lib/Data/UUID/Instances.hs18
1 files changed, 0 insertions, 18 deletions
diff --git a/hosts/surtr/email/spm/lib/Data/UUID/Instances.hs b/hosts/surtr/email/spm/lib/Data/UUID/Instances.hs
deleted file mode 100644
index 335937d8..00000000
--- a/hosts/surtr/email/spm/lib/Data/UUID/Instances.hs
+++ /dev/null
@@ -1,18 +0,0 @@
1{-# OPTIONS_GHC -fno-warn-orphans #-}
2
3module Data.UUID.Instances () where
4
5import Prelude
6import Data.UUID (UUID)
7import qualified Data.UUID as UUID
8import Servant.API.ContentTypes
9
10
11instance MimeRender PlainText UUID where
12 mimeRender p = mimeRender p . UUID.toText
13
14instance MimeRender JSON UUID where
15 mimeRender p = mimeRender p . UUID.toText
16
17instance MimeRender OctetStream UUID where
18 mimeRender p = mimeRender p . UUID.toByteString