Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data MultiPatch s a Source #
Instances
Instances
Aligned | |
|
Instances
Eq p => Eq (Aligned p) Source # | |
Show p => Show (Aligned p) Source # | |
Generic (Aligned p) Source # | |
ToJSON p => ToJSON (Aligned p) Source # | |
FromJSON p => FromJSON (Aligned p) Source # | |
type Rep (Aligned p) Source # | |
Defined in BytePatch type Rep (Aligned p) = D1 ('MetaData "Aligned" "BytePatch" "bytepatch-0.3.0-inplace" 'False) (C1 ('MetaCons "Aligned" 'PrefixI 'True) (S1 ('MetaSel ('Just "alignedAlign") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SeekRep 'RelSeek)) :*: S1 ('MetaSel ('Just "alignedPatches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [p]))) |
jsonCfgCamelDrop :: Int -> Options Source #
convertBinAlign :: forall s a. SeekRep s ~ Natural => MultiPatch 'RelSeek a -> [Patch 'RelSeek '[Const (Meta s), Const Meta, MetaStream] a] Source #
convertBin :: forall s a. MultiPatch s a -> [Patch s '[Const Meta, MetaStream] a] Source #
convertAlign :: forall s a. SeekRep s ~ Natural => MultiPatch 'RelSeek a -> [Patch 'RelSeek '[Const (Meta s)] a] Source #
convertEmpty :: forall s a. MultiPatch s a -> [Patch s '[] a] Source #
align :: forall s a ss rs is i r. (SeekRep s ~ Natural, r ~ Const (Meta s), rs ~ RDelete r ss, RElem r ss i, RSubset rs ss is) => Aligned (Patch 'RelSeek ss a) -> Either (Error s) [Patch s rs a] Source #
cmBinStream :: Seek s a -> Rec (Flap a) '[MetaStream] Source #