data-default-instances-bytestring

Version 0.0.1 revision 1 uploaded by PeterTrsko.

Package meta

Synopsis
Default instances for (lazy and strict) ByteString, Builder and ShortByteString.
Description

Orphan instances for Default type class, which is defined in package data-default-class.

Following Default 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
Author
Peter Trško
Bug reports
https://github.com/trskop/data-default-extra/issues
Category
Data
Copyright
(c) 2016, Peter Trško
Homepage
https://github.com/trskop/data-default-extra
Maintainer
peter.trsko@gmail.com
Package URL
n/a
Stability
n/a

Components