| Copyright | (c) 2016, Peter Trško |
|---|---|
| License | BSD3 |
| Maintainer | peter.trsko@gmail.com |
| 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: instanceDefaultByteStringwheredef=empty-- Lazy ByteString: instanceDefaultByteStringwheredef=empty
Following instance is provided only for
bytestring >=0.10, since
that it the version that introduced Builder:
instanceDefaultBuilderwheredef=mempty
Following instance is provided only for
bytestring >=0.10.4, since
that it the version that introduced ShortByteString:
instanceDefaultShortByteStringwheredef=empty