data-default-instances-bytestring-0.0.1: Default instances for (lazy and strict) ByteString, Builder and ShortByteString.

Copyright(c) 2016, Peter Trško
LicenseBSD3
Maintainerpeter.trsko@gmail.com
Stabilitystable
PortabilityCPP, NoImplicitPrelude
Safe HaskellSafe
LanguageHaskell2010

Data.Default.Instances.ByteString

Description

Default instances for (strict) ByteString, (lazy) ByteString and Builder from bytestring package.

Synopsis

Documentation

Following instances are provided:

-- Strict ByteString:
instance Default ByteString where
    def = empty

-- Lazy ByteString:
instance Default ByteString where
    def = empty

Following instance is provided only for bytestring >=0.10, since that it the version that introduced Builder:

instance Default Builder where
    def = mempty

Following instance is provided only for bytestring >=0.10.4, since that it the version that introduced ShortByteString:

instance Default ShortByteString where
    def = empty