Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Shared types.
Synopsis
- data XenoException
- = XenoStringIndexProblem { }
- | XenoParseError {
- inputIndex :: Int
- message :: ByteString
- | XenoExpectRootNode
- newtype ByteStringZeroTerminated = BSZT ByteString
Documentation
data XenoException Source #
XenoStringIndexProblem | |
| |
XenoParseError | |
| |
XenoExpectRootNode |
Instances
newtype ByteStringZeroTerminated Source #
ByteString wich guaranted have '\NUL' at the end
Instances
Generic ByteStringZeroTerminated Source # | |
Defined in Xeno.Types type Rep ByteStringZeroTerminated :: Type -> Type # | |
NFData ByteStringZeroTerminated Source # | |
Defined in Xeno.Types rnf :: ByteStringZeroTerminated -> () # | |
StringLike ByteStringZeroTerminated Source # | |
Defined in Xeno.SAX s_index' :: ByteStringZeroTerminated -> Int -> Word8 Source # elemIndexFrom' :: Word8 -> ByteStringZeroTerminated -> Int -> Maybe Int Source # drop' :: Int -> ByteStringZeroTerminated -> ByteStringZeroTerminated Source # substring' :: ByteStringZeroTerminated -> Int -> Int -> ByteString Source # | |
type Rep ByteStringZeroTerminated Source # | |
Defined in Xeno.Types type Rep ByteStringZeroTerminated = D1 (MetaData "ByteStringZeroTerminated" "Xeno.Types" "xeno-0.4.1-8FvFfO7PbIYAbHRYCKU81j" True) (C1 (MetaCons "BSZT" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ByteString))) |