@@ -1,3 +1,4 @@
1{-# LANGUAGE UndecidableInstances #-}
2{-# LANGUAGE UndecidableInstances #-}
2{-# LANGUAGE FunctionalDependencies #-}
3{-# LANGUAGE FunctionalDependencies #-}
@@ -379,11 +380,11 @@ isoXmlGenerateDatatype genType (PrefixName strName' strPrefix') descRecordParts
379 toXmlParentAttributesExpr
380 toXmlParentAttributesExpr
380 = TH.lamE [if null exprAttributes then TH.wildP else TH.varP objName]
381 = TH.lamE [if null exprAttributes then TH.wildP else TH.varP objName]
381 $ [e|mapMaybe distribPair $(TH.listE exprAttributes)|]
382 $ [e|mapMaybe distribPair $(TH.listE exprAttributes)|]
382− #if __GLASGOW_HASKELL__ < 800
383+#if __GLASGOW_HASKELL__ < 800
383 TH.instanceD
384 TH.instanceD
385 TH.instanceWithOverlapD (Just TH.Overlapping)
386 TH.instanceWithOverlapD (Just TH.Overlapping)
387 (return [])
388 (return [])
388 [t|ToXmlParentAttributes $(TH.conT name)|]
389 [t|ToXmlParentAttributes $(TH.conT name)|]
389 [funSimple 'toXmlParentAttributes toXmlParentAttributesExpr]
390 [funSimple 'toXmlParentAttributes toXmlParentAttributesExpr]