Skip to content
Snippets Groups Projects
Commit ef943d82 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Don't use qualified names in in binding positions

parent 12c8dafb
No related branches found
No related tags found
No related merge requests found
......@@ -29,8 +29,8 @@ evalIdentityT = runIdentityT . HSX.unXMLGenT
-- * HSX.XMLGenerator for IdentityT
instance (Functor m, Monad m) => HSX.XMLGen (IdentityT m) where
type HSX.XML (IdentityT m) = XML
newtype HSX.Child (IdentityT m) = IChild { unIChild :: XML }
type XML (IdentityT m) = XML
newtype Child (IdentityT m) = IChild { unIChild :: XML }
genElement n _attrs children = HSX.XMLGenT $
do children' <- HSX.unXMLGenT (fmap (map unIChild . concat) (sequence children))
return (Element n [] children')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment