Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
Instances
Generic Error Source # | |
Show Error Source # | |
Eq Error Source # | |
type Rep Error Source # | |
Defined in StreamPatch.Apply type Rep Error = D1 ('MetaData "Error" "StreamPatch.Apply" "bytepatch-0.4.1-inplace" 'False) (C1 ('MetaCons "ErrorCompare" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: C1 ('MetaCons "ErrorBinUnexpectedNonNull" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))) |
applyBinCompareFwd :: forall v m. (FwdInplaceStream m, Chunk m ~ ByteString, Compare v ByteString, Num (Index m)) => [Patch (Index m) '[Meta v, Meta] ByteString] -> m (Either Error ()) Source #
runPureBinCompareFwd :: Compare v ByteString => [Patch Int '[Meta v, Meta] ByteString] -> ByteString -> Either Error ByteString Source #
runPureFwdList :: [Patch Int '[] [a]] -> [a] -> [a] Source #