Copyright | (c) 2016, Peter Trško |
---|---|
License | BSD3 |
Maintainer | [email protected] |
Stability | stable |
Portability | CPP, NoImplicitPrelude |
Safe Haskell | Safe |
Language | Haskell2010 |
Data.Default.Instances.ByteString
Description
Default
instances for (strict) ByteString
, (lazy)
ByteString
and Builder
from
bytestring package.
Documentation
Following instances are provided:
-- Strict ByteString: instanceDefault
ByteString
wheredef
=empty
-- Lazy ByteString: instanceDefault
ByteString
wheredef
=empty
Following instance is provided only for
bytestring >=0.10, since
that it the version that introduced Builder
:
instanceDefault
Builder
wheredef
=mempty
Following instance is provided only for
bytestring >=0.10.4, since
that it the version that introduced ShortByteString
:
instanceDefault
ShortByteString
wheredef
=empty