Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype Write params k = Write {}
- write :: Write params ByteString -> params
- runWrite :: WriteInh -> Write params ByteString -> params
- writeUtf8 :: FilePath -> Write params (IO (Maybe ErrorWrite)) -> params
- type ErrorWrite = IOError
- data WriteInh = WriteInh {}
- defaultWriteInh :: WriteInh
- data WriteSyn = WriteSyn {}
- newtype WritePerm repr xml k = WritePerm {
- unWritePerm :: repr xml k
- nl :: WriteInh -> Builder
- class EncodeText a where
- encodeText :: a -> Text
Type Write
newtype Write params k Source #
Instances
write :: Write params ByteString -> params Source #
Type Write
type ErrorWrite = IOError Source #
Type WriteInh
Top-down inheritage.
WriteInh | |
|
Type WriteSyn
Type WritePerm
newtype WritePerm repr xml k Source #
WritePerm | |
|
Instances
Tupable (WritePerm Write) Source # | |
Transformable (WritePerm repr) Source # | |
Defined in Symantic.XML.Write noTrans :: UnTrans (WritePerm repr) a b -> WritePerm repr a b unTrans :: WritePerm repr a b -> UnTrans (WritePerm repr) a b trans1 :: (UnTrans (WritePerm repr) a b -> UnTrans (WritePerm repr) c d) -> WritePerm repr a b -> WritePerm repr c d trans2 :: (UnTrans (WritePerm repr) a b -> UnTrans (WritePerm repr) c d -> UnTrans (WritePerm repr) e f) -> WritePerm repr a b -> WritePerm repr c d -> WritePerm repr e f | |
Dimapable (WritePerm Write) Source # | |
Composable (WritePerm Write) Source # | |
type UnTrans (WritePerm repr) Source # | |
Defined in Symantic.XML.Write type UnTrans (WritePerm repr) = repr |
Class EncodeText
class EncodeText a where Source #
Nothing
encodeText :: a -> Text Source #
encodeText :: Show a => a -> Text Source #
Instances
EncodeText Bool Source # | |
Defined in Symantic.XML.Write encodeText :: Bool -> Text Source # | |
EncodeText Int Source # | |
Defined in Symantic.XML.Write encodeText :: Int -> Text Source # | |
EncodeText Integer Source # | |
Defined in Symantic.XML.Write encodeText :: Integer -> Text Source # | |
EncodeText Natural Source # | |
Defined in Symantic.XML.Write encodeText :: Natural -> Text Source # | |
EncodeText String Source # | |
Defined in Symantic.XML.Write encodeText :: String -> Text Source # | |
EncodeText Text Source # | |
Defined in Symantic.XML.Write encodeText :: Text -> Text0 Source # | |
EncodeText Text Source # | |
Defined in Symantic.XML.Write encodeText :: Text -> Text Source # |