packages feed

getopt-generics 0.11.0.2 → 0.11.0.3

raw patch · 3 files changed

+5/−3 lines, 3 filesdep ~generics-sopPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: generics-sop

API changes (from Hackage documentation)

+ System.Console.GetOpt.Generics: class (AllF [k] (All k f) xss, SListI [k] xss) => All2 (f :: k -> Constraint) (xss :: [[k]])
+ WithCli: class (AllF [k] (All k f) xss, SListI [k] xss) => All2 (f :: k -> Constraint) (xss :: [[k]])
- System.Console.GetOpt.Generics: class (SingI [[*]] (Code a), All [*] (SingI [*]) (Code a)) => Generic a where type family Code a :: [[*]]
+ System.Console.GetOpt.Generics: class All [*] (SListI *) (Code a) => Generic a where type family Code a :: [[*]]
- WithCli: class (SingI [[*]] (Code a), All [*] (SingI [*]) (Code a)) => Generic a where type family Code a :: [[*]]
+ WithCli: class All [*] (SListI *) (Code a) => Generic a where type family Code a :: [[*]]

Files

getopt-generics.cabal view
@@ -3,7 +3,7 @@ -- see: https://github.com/sol/hpack  name:           getopt-generics-version:        0.11.0.2+version:        0.11.0.3 synopsis:       Create command line interfaces with ease description:    Create command line interfaces with ease category:       Console, System@@ -49,7 +49,7 @@       base == 4.*     , base-compat >= 0.8     , base-orphans-    , generics-sop+    , generics-sop >= 0.1 && < 0.3     , tagged   exposed-modules:       WithCli@@ -77,7 +77,7 @@       base == 4.*     , base-compat >= 0.8     , base-orphans-    , generics-sop+    , generics-sop >= 0.1 && < 0.3     , tagged     , hspec >= 2.1.8     , QuickCheck
src/System/Console/GetOpt/Generics.hs view
@@ -1,6 +1,7 @@ {-# LANGUAGE ConstraintKinds #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE ViewPatterns #-}+{-# LANGUAGE FlexibleContexts #-}  module System.Console.GetOpt.Generics (   -- * Simple IO API
test/Util.hs view
@@ -1,4 +1,5 @@ {-# LANGUAGE ConstraintKinds #-}+{-# LANGUAGE FlexibleContexts #-}  module Util where