solatis / haskell-hexstring

Fast and safe representation of hex string
MIT License
2 stars 6 forks source link

No partial constructor for HexString #2

Open lolepezy opened 4 years ago

lolepezy commented 4 years ago

Hi,

There's currently no partial constructor for HexString, i.e. something like ByteString -> Maybe HexString (or Either String HexString, or MonadFail or whatnot). To be honest, I'm surprised it doesn't exist especially since the library description says that it's safe. Also, I see the PR adding exactly this functionality, any chances it will merged and released?

Thanks.