]> Git — Sourcephile - doclang.git/blob - Text/Blaze/XML.hs
Fix RNC rendering for DTC.
[doclang.git] / Text / Blaze / XML.hs
1 {-# OPTIONS_GHC -fno-warn-orphans #-}
2 module Text.Blaze.XML where
3
4 import Language.XML hiding (XML)
5 import Text.Blaze
6 import Text.Blaze.Utils
7
8 -- * Type 'XML'
9 type XML = Markup
10
11 instance Attrify URL where
12 attrify (URL a) = attrify a
13 instance Attrify Path where
14 attrify (Path a) = attrify a
15 instance Attrify Ident where
16 attrify (Ident a) = attrify a
17 instance Attrify Nat where
18 attrify (Nat a) = attrify a
19 instance Attrify Nat1 where
20 attrify (Nat1 a) = attrify a
21
22 instance MayAttr URL where
23 mayAttr a (URL t) = mayAttr a t
24 instance MayAttr Path where
25 mayAttr a (Path t) = mayAttr a t
26 instance MayAttr Ident where
27 mayAttr a (Ident t) = mayAttr a t
28 instance MayAttr Nat where
29 mayAttr a (Nat t) = mayAttr a t
30 instance MayAttr Nat1 where
31 mayAttr a (Nat1 t) = mayAttr a t