Skip to content

Commit

Permalink
Merge pull request #1 from Topsii/quantified-superclasses
Browse files Browse the repository at this point in the history
Add Foldable and Traversable instances to UnderScope
  • Loading branch information
ejconlon authored Oct 18, 2022
2 parents c9421bd + 6c2ef80 commit ca0daa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Blanks/Internal/Under.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ data UnderScope (n :: Type -> Type) (f :: Type -> Type) (e :: Type) (a :: Type)
| UnderScopeFree !a
| UnderScopeAbstract !(Abstract n e)
| UnderScopeEmbed !(f e)
deriving stock (Eq, Show, Functor, Generic)
deriving stock (Eq, Show, Functor, Foldable, Traversable, Generic)
deriving anyclass (NFData)

instance (Functor n, Functor f) => Bifunctor (UnderScope n f) where
Expand Down

0 comments on commit ca0daa6

Please sign in to comment.