Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions smash-aeson/smash-aeson.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ library
Data.Wedge.Aeson

build-depends:
aeson >=2.0 && <2.1
, base >=4.1 && <4.17
aeson >=2.0
, base >=4.1
, smash >=0.1.3
, unordered-containers

Expand Down
12 changes: 6 additions & 6 deletions smash-core/smash.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.0
name: smash
version: 0.1.3
version: 0.1.4
synopsis: Combinators for Maybe types
description:
Smash products are like the 'These' datatype, only with a unit. You can
Expand Down Expand Up @@ -37,11 +37,11 @@ library

other-modules: Data.Smash.Internal
build-depends:
base >=4.12 && <4.17
, bifunctors ^>=5.5
, binary ^>=0.8
, deepseq ^>=1.4
, hashable ^>=1.3
base >=4.12 && <5
, bifunctors >=5.5
, binary >=0.8
, deepseq >=1.4 && < 2
, hashable >=1.3
, mtl
, template-haskell >=2.2 && < 3.0

Expand Down
2 changes: 1 addition & 1 deletion smash-core/src/Control/Monad/Trans/Can.hs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ instance (MonadState s m, Semigroup t) => MonadState s (CanT t m) where

instance (Semigroup t, MonadRWS r w s m) => MonadRWS r w s (CanT t m)

instance MonadTrans (CanT a) where
instance (Semigroup a) => MonadTrans (CanT a) where
lift = CanT . fmap Eno

instance (MonadError e m, Semigroup e) => MonadError e (CanT e m) where
Expand Down
2 changes: 1 addition & 1 deletion smash-core/src/Control/Monad/Trans/Wedge.hs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ instance (MonadState s m, Semigroup t) => MonadState s (WedgeT t m) where

instance (Semigroup t, MonadRWS r w s m) => MonadRWS r w s (WedgeT t m)

instance MonadTrans (WedgeT a) where
instance (Semigroup a) => MonadTrans (WedgeT a) where
lift = WedgeT . fmap There

instance (MonadError e m, Semigroup e) => MonadError e (WedgeT e m) where
Expand Down
4 changes: 2 additions & 2 deletions smash-lens/smash-lens.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ library
-- other-modules:
-- other-extensions:
build-depends:
base >=4.11 && <4.17
, lens >=4.0 && <5.2
base >=4.11
, lens >=4.0
, smash >=0.1.3

hs-source-dirs: src
Expand Down
4 changes: 2 additions & 2 deletions smash-microlens/smash-microlens.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ library
-- other-modules:
-- other-extensions:
build-depends:
base >=4.11 && <4.17
, microlens >=0.3 && <0.5
base >=4.11
, microlens >=0.3
, smash >=0.1.3

hs-source-dirs: src
Expand Down
4 changes: 2 additions & 2 deletions smash-optics/smash-optics.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ library
Data.Wedge.Optics

build-depends:
base >=4.11 && <4.17
, optics-core >=0.3 && <0.5
base >=4.11
, optics-core >=0.3
, smash >=0.1.3

hs-source-dirs: src
Expand Down