Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Meta s = Meta {}
- data Error s
- = ErrorSeekBelow0 (SeekRep 'RelSeek)
- | ErrorDoesntMatchExpected (SeekRep s) (SeekRep s)
- 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) => SeekRep 'RelSeek -> Patch 'RelSeek ss a -> Either (Error s) (Patch s rs a)
- tryIntegerToNatural :: Integer -> Maybe Natural
Documentation
Instances
Eq (SeekRep s) => Eq (Error s) Source # | |
Show (SeekRep s) => Show (Error s) Source # | |
Generic (Error s) Source # | |
type Rep (Error s) Source # | |
Defined in StreamPatch.Patch.Align type Rep (Error s) = D1 ('MetaData "Error" "StreamPatch.Patch.Align" "bytepatch-0.3.0-inplace" 'False) (C1 ('MetaCons "ErrorSeekBelow0" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SeekRep 'RelSeek))) :+: C1 ('MetaCons "ErrorDoesntMatchExpected" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SeekRep s)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SeekRep s)))) |