Skip to content

Commit

Permalink
silence all 'cabal check' complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
mauke committed Oct 14, 2024
1 parent 714ede3 commit b07e7b6
Show file tree
Hide file tree
Showing 11 changed files with 39 additions and 15 deletions.
2 changes: 1 addition & 1 deletion data-default-class/Data/Default/Class.hs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

{-|
Module : Data.Default.Class
Description : Defines a class for types with a default value.
Description : A class for types with a default value.
This module defines a class for types with a default value.
It also defines 'Default' instances for the types 'Int', 'Int8',
Expand Down
12 changes: 11 additions & 1 deletion data-default-class/data-default-class.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@ name: data-default-class
version: 0.1.2.1
category: Data
synopsis: A class for types with a default value
description:
This module defines a class for types with a default value.
It also defines 'Default' instances for the types 'Int', 'Int8',
'Int16', 'Int32', 'Int64', 'Word', 'Word8', 'Word16', 'Word32', 'Word64',
'Integer', 'Float', 'Double', 'Ratio', 'Complex', 'CShort', 'CUShort',
'CInt', 'CUInt', 'CLong', 'CULong', 'CLLong', 'CULLong', 'CPtrdiff',
'CSize', 'CSigAtomic', 'CIntPtr', 'CUIntPtr', 'CIntMax', 'CUIntMax',
'CClock', 'CTime', 'CUSeconds', 'CSUSeconds', 'CFloat', 'CDouble', '(->)',
'IO', 'Maybe', '()', '[]', 'Ordering', 'Any', 'All', 'Last', 'First', 'Sum',
'Product', 'Endo', 'Dual', and tuples.
build-type: Simple
license: BSD-3-Clause
license-file: LICENSE
Expand All @@ -18,6 +28,6 @@ library
build-depends: base >=2 && <5
if impl(ghc == 7.4.*)
-- for GHC.Generics
build-depends: ghc-prim
build-depends: ghc-prim ^>=0.2
exposed-modules: Data.Default.Class
default-language: Haskell98
3 changes: 3 additions & 0 deletions data-default-instances-base/data-default-instances-base.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: data-default-instances-base
version: 0.1.0.2
category: Data
synopsis: Default instances for types in base
description:
This module reëxports the 'Data.Default.Class.Default' instances from the
"Data.Default.Class" module.
build-type: Simple
license: BSD-3-Clause
license-file: LICENSE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

{-|
Module : Data.Default.Instances.Containers
Description : Defines 'Default' instances for container types.
Description : 'Default' instances for container types.
This module defines 'Default' instances for the types 'S.Set', 'M.Map',
'IntMap', 'IntSet', 'Seq', and 'Tree'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: data-default-instances-containers
version: 0.1.0.2
category: Data
synopsis: Default instances for types in containers
description:
This module defines 'Default' instances for the types 'S.Set', 'M.Map',
'IntMap', 'IntSet', 'Seq', and 'Tree'.
build-type: Simple
license: BSD-3-Clause
license-file: LICENSE
Expand All @@ -15,6 +18,6 @@ source-repository head
location: https://github.com/mauke/data-default

library
build-depends: base >=2 && <5, data-default-class ^>=0.1.2.0, containers
build-depends: base >=2 && <5, data-default-class ^>=0.1.2.0, containers >=0.1 && <0.8
exposed-modules: Data.Default.Instances.Containers
default-language: Haskell98
4 changes: 2 additions & 2 deletions data-default-instances-dlist/Data/Default/Instances/DList.hs
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

{-|
Module : Data.Default.Instances.DList
Description : Defines 'Default' instances for the type 'DList'.
Description : 'Default' instance for the type 'DList'.
This module defines 'Default' instances for the type 'DList'.
This module defines a 'Default' instance for the type 'DList'.
-}
module Data.Default.Instances.DList () where

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: data-default-instances-dlist
version: 0.0.1.1
category: Data
synopsis: Default instances for types in dlist
description:
This module defines a 'Default' instance for the type 'DList'.
build-type: Simple
license: BSD-3-Clause
license-file: LICENSE
Expand All @@ -15,6 +17,6 @@ source-repository head
location: https://github.com/mauke/data-default

library
build-depends: base >=2 && <5, data-default-class ^>=0.1.2.0, dlist
build-depends: base >=2 && <5, data-default-class ^>=0.1.2.0, dlist >=0.1 && <1.1
exposed-modules: Data.Default.Instances.DList
default-language: Haskell98
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

{-|
Module : Data.Default.Instances.OldLocale
Description : Defines 'Default' instances for the type 'TimeLocale'.
Description : 'Default' instances for the type 'TimeLocale'.
This module defines 'Default' instances for the type 'TimeLocale'.
This module defines a 'Default' instance for the type 'TimeLocale'.
-}
module Data.Default.Instances.OldLocale () where

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: data-default-instances-old-locale
version: 0.0.1.1
category: Data
synopsis: Default instances for types in old-locale
description:
This module defines a 'Default' instance for the type 'TimeLocale'.
build-type: Simple
license: BSD-3-Clause
license-file: LICENSE
Expand All @@ -15,6 +17,6 @@ source-repository head
location: https://github.com/mauke/data-default

library
build-depends: base >=2 && <5, data-default-class ^>=0.1.2.0, old-locale
build-depends: base >=2 && <5, data-default-class ^>=0.1.2.0, old-locale ^>=1.0
exposed-modules: Data.Default.Instances.OldLocale
default-language: Haskell98
2 changes: 1 addition & 1 deletion data-default/Data/Default.hs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

{-|
Module : Data.Default
Description : Defines a class for types with a default value.
Description : A class for types with a default value.
This module defines a class for types with a default value. Instances are
provided for '()', 'Data.Set.Set', 'Data.Map.Map', 'Int', 'Integer',
Expand Down
12 changes: 8 additions & 4 deletions data-default/data-default.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: data-default
version: 0.7.1.2
category: Data
synopsis: A class for types with a default value
description:
This module defines a class for types with a default value. Instances are
provided for '()', 'Data.Set.Set', 'Data.Map.Map', 'Int', 'Integer',
'Float', 'Double', and many others.
build-type: Simple
license: BSD-3-Clause
license-file: LICENSE
Expand All @@ -15,10 +19,10 @@ source-repository head
location: https://github.com/mauke/data-default

library
build-depends: base >=2 && <5, data-default-class ^>=0.1.2.0,
data-default-instances-containers,
data-default-instances-dlist,
data-default-instances-old-locale
build-depends: base >=2 && <5, data-default-class ^>=0.1.2.1,
data-default-instances-containers ^>=0.1.0.2,
data-default-instances-dlist ^>=0.0.1.1,
data-default-instances-old-locale ^>=0.0.1.1
exposed-modules: Data.Default
default-language: Haskell98

Expand Down

0 comments on commit b07e7b6

Please sign in to comment.