lambdabot-core 5.1.0.1 → 5.1.0.2
raw patch · 2 files changed
+3/−3 lines, 2 filesdep ~base
Dependency ranges changed: base
Files
- lambdabot-core.cabal +1/−1
- src/Lambdabot/Config.hs +2/−2
lambdabot-core.cabal view
@@ -1,5 +1,5 @@ name: lambdabot-core-version: 5.1.0.1+version: 5.1.0.2 license: GPL license-file: LICENSE
src/Lambdabot/Config.hs view
@@ -29,9 +29,9 @@ import Data.Generics (everywhere, mkT) import Language.Haskell.TH -data Config t where Config :: (Typeable1 k, GCompare k) => !(k t) -> t -> (t -> t -> t) -> Config t+data Config t where Config :: (Typeable k, GCompare k) => !(k t) -> t -> (t -> t -> t) -> Config t -cast1 :: (Typeable1 f, Typeable1 g) => f a -> Maybe (g a)+cast1 :: (Typeable f, Typeable g) => f a -> Maybe (g a) cast1 = fmap runIdentity . gcast1 . Identity instance GEq Config where