data-default-instances-text-0.0.1: Default instances for (lazy and strict) Text and Text Builder.

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

Data.Default.Instances.Text

Description

Default instances for (strict) Text, (lazy) Text and Builder from text package.

Synopsis

Documentation

Following instances are provided:

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

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

Following instances are provided only for text >=0.8, since that it the version that introduced Builder:

instance Default Builder where
    def = mempty