Blame Data/Default.hs

Packit 44667b
{-
Packit 44667b
Packit 44667b
Copyright (c) 2013 Lukas Mai
Packit 44667b
Packit 44667b
All rights reserved.
Packit 44667b
Packit 44667b
Redistribution and use in source and binary forms, with or without modification,
Packit 44667b
are permitted provided that the following conditions are met:
Packit 44667b
Packit 44667b
* Redistributions of source code must retain the above copyright notice, this
Packit 44667b
  list of conditions and the following disclaimer.
Packit 44667b
* Redistributions in binary form must reproduce the above copyright notice,
Packit 44667b
  this list of conditions and the following disclaimer in the documentation
Packit 44667b
  and/or other materials provided with the distribution.
Packit 44667b
* Neither the name of the author nor the names of his contributors
Packit 44667b
  may be used to endorse or promote products derived from this software
Packit 44667b
  without specific prior written permission.
Packit 44667b
Packit 44667b
THIS SOFTWARE IS PROVIDED BY LUKAS MAI AND CONTRIBUTORS "AS IS" AND ANY
Packit 44667b
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
Packit 44667b
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
Packit 44667b
DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY
Packit 44667b
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
Packit 44667b
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
Packit 44667b
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
Packit 44667b
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
Packit 44667b
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
Packit 44667b
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Packit 44667b
Packit 44667b
-}
Packit 44667b
Packit 44667b
module Data.Default (
Packit 44667b
-- | This module defines a class for types with a default value. Instances are
Packit 44667b
-- provided for '()', 'Data.Set.Set', 'Data.Map.Map', 'Int', 'Integer',
Packit 44667b
-- 'Float', 'Double', and many others (see below).
Packit 44667b
    Default(..)
Packit 44667b
) where
Packit 44667b
Packit 44667b
import Data.Default.Class
Packit 44667b
import Data.Default.Instances.Containers ()
Packit 44667b
import Data.Default.Instances.DList      ()
Packit 44667b
import Data.Default.Instances.OldLocale  ()