Skip to content

Commit

Permalink
extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
echatav committed Jan 15, 2024
1 parent 0512e54 commit f676f94
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 50 deletions.
7 changes: 7 additions & 0 deletions indexed-transformers.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,17 @@ library
hs-source-dirs:
src
default-extensions:
ConstraintKinds
DeriveFunctor
FlexibleInstances
GADTs
LambdaCase
MultiParamTypeClasses
PolyKinds
QuantifiedConstraints
RankNTypes
StandaloneKindSignatures
TupleSections
TypeOperators
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
build-depends:
Expand Down
7 changes: 7 additions & 0 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,17 @@ ghc-options:
- -Wredundant-constraints

default-extensions:
- ConstraintKinds
- DeriveFunctor
- FlexibleInstances
- GADTs
- LambdaCase
- MultiParamTypeClasses
- PolyKinds
- QuantifiedConstraints
- RankNTypes
- StandaloneKindSignatures
- TupleSections
- TypeOperators

library:
Expand Down
6 changes: 0 additions & 6 deletions src/Control/Monad/Trans/Indexed/Cont.hs
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
{-# LANGUAGE
DeriveFunctor
, FlexibleInstances
, GADTs
#-}

module Control.Monad.Trans.Indexed.Cont
( ContIx (..)
, callCCIx
Expand Down
10 changes: 1 addition & 9 deletions src/Control/Monad/Trans/Indexed/Free.hs
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
{-# LANGUAGE
ConstraintKinds
, DefaultSignatures
, GADTs
, PolyKinds
, QuantifiedConstraints
, RankNTypes
, UndecidableInstances
#-}
{-# LANGUAGE UndecidableInstances #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}

module Control.Monad.Trans.Indexed.Free
Expand Down
9 changes: 0 additions & 9 deletions src/Control/Monad/Trans/Indexed/Free/Fold.hs
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
{-# LANGUAGE
FlexibleInstances
, GADTs
, MultiParamTypeClasses
, PolyKinds
, QuantifiedConstraints
, RankNTypes
, TypeApplications
#-}
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}

module Control.Monad.Trans.Indexed.Free.Fold
Expand Down
10 changes: 0 additions & 10 deletions src/Control/Monad/Trans/Indexed/Free/Wrap.hs
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
{-# LANGUAGE
ConstraintKinds
, FlexibleInstances
, GADTs
, LambdaCase
, QuantifiedConstraints
, MultiParamTypeClasses
, PolyKinds
#-}

module Control.Monad.Trans.Indexed.Free.Wrap
( FreeIx (..)
, WrapIx (..)
Expand Down
8 changes: 0 additions & 8 deletions src/Control/Monad/Trans/Indexed/State.hs
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
{-# LANGUAGE
DeriveFunctor
, FlexibleInstances
, GADTs
, MultiParamTypeClasses
, TupleSections
#-}

module Control.Monad.Trans.Indexed.State
( StateIx (..)
, evalStateIx
Expand Down
8 changes: 0 additions & 8 deletions src/Control/Monad/Trans/Indexed/Writer.hs
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
{-# LANGUAGE
DeriveFunctor
, FlexibleInstances
, GADTs
, MultiParamTypeClasses
, PolyKinds
#-}

module Control.Monad.Trans.Indexed.Writer
( WriterIx (..)
, evalWriterIx
Expand Down

0 comments on commit f676f94

Please sign in to comment.