[Haskell-beginners] How do you show a Data.ByteArray?

haskell at verge.info.tm haskell at verge.info.tm
Mon Aug 29 02:17:35 UTC 2016


On 08/28/2016 11:08 PM, David McBride wrote:
> You haven't actually decided what c is, just that it is some type that is an
> instance of the ByteArray class.
Thank you! I had thought there was a default instance, like it would by default
be Bytes, but could also optionally be wrapped around a ByteString or
ScrubbedBytes. But you're right, you can create "20 zeroes" of any of those
underlying things. Makes a lot more sense now.



More information about the Beginners mailing list