Safe Haskell | None |
---|---|
Language | Haskell2010 |
Darcs.Patch.Read
Synopsis
- class ReadPatch (p :: Type -> Type -> Type) where
- readPatch' :: Parser (Sealed (p wX))
- readPatch :: forall (p :: Type -> Type -> Type) wX. ReadPatch p => ByteString -> Either String (Sealed (p wX))
- readPatchPartial :: forall (p :: Type -> Type -> Type) wX. ReadPatch p => ByteString -> Either String (Sealed (p wX), ByteString)
- bracketedFL :: forall (p :: Type -> Type -> Type) wX. (forall wY. Parser (Sealed (p wY))) -> Char -> Char -> Parser (Sealed (FL p wX))
- peekfor :: ByteString -> Parser a -> Parser a -> Parser a
- readFileName :: HasCallStack => FileNameFormat -> Parser AnchoredPath
Documentation
class ReadPatch (p :: Type -> Type -> Type) where Source #
This class is used to decode patches from their binary representation.
Methods
readPatch' :: Parser (Sealed (p wX)) Source #
Instances
readPatch :: forall (p :: Type -> Type -> Type) wX. ReadPatch p => ByteString -> Either String (Sealed (p wX)) Source #
readPatchPartial :: forall (p :: Type -> Type -> Type) wX. ReadPatch p => ByteString -> Either String (Sealed (p wX), ByteString) Source #
bracketedFL :: forall (p :: Type -> Type -> Type) wX. (forall wY. Parser (Sealed (p wY))) -> Char -> Char -> Parser (Sealed (FL p wX)) Source #
readFileName :: HasCallStack => FileNameFormat -> Parser AnchoredPath Source #