Update accesor for HexString
This commit is contained in:
parent
998ff44733
commit
8c634d8aa6
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ import qualified Generics.SOP as SOP
|
||||||
-- | Represents a Hex string. Guarantees that all characters it contains
|
-- | Represents a Hex string. Guarantees that all characters it contains
|
||||||
-- are valid hex characters.
|
-- are valid hex characters.
|
||||||
newtype HexString = HexString
|
newtype HexString = HexString
|
||||||
{ bytes :: BS.ByteString
|
{ hexBytes :: BS.ByteString
|
||||||
} deriving stock (Eq, Prelude.Show, GHC.Generic)
|
} deriving stock (Eq, Prelude.Show, GHC.Generic)
|
||||||
deriving anyclass (SOP.Generic, SOP.HasDatatypeInfo)
|
deriving anyclass (SOP.Generic, SOP.HasDatatypeInfo)
|
||||||
deriving anyclass (Data.Structured.Show)
|
deriving anyclass (Data.Structured.Show)
|
||||||
|
|
Loading…
Reference in a new issue