binrep-0.3.0: Encode precise binary representations directly in types
Safe HaskellSafe-Inferred
LanguageHaskell2010

Haskpatch.Format.Bps

Synopsis

Documentation

data Bps (s :: Strength) i a Source #

TODO * can't do generic because BPS doesn't store command list length, instead requiring a dynamic check on every command * wonder if this is better or more efficient that using a BpsVarint for the length, same as metadata, or storing the end size as a BpsVarint. * maybe two diff types of varint, +ve and -ve. unclear from spec * perhaps store the varint type(s) as a type var, to allow switching between efficient machine ints and safe Integer, Natural!

Constructors

Bps 

Fields