Skip to content

Commit

Permalink
Fix #1 - failure not due to DefaultSignatures
Browse files Browse the repository at this point in the history
  • Loading branch information
rampion committed Jun 19, 2017
1 parent c5abc78 commit 20e5c57
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,9 @@ for any `Category`, which makes it a great opportunity to use the `DefaultSignat
default contramap :: (f ~ Cat j, k ~ j -> Type) => Cat j a b -> Natural (->) (f b) (f a)
contramap h = Natural (.h)

However this doesn't compile in `ghc-8.0.2`; while `DefaultSignatures` lets us specialize
over other constraints, it doesn't (yet?) allow us to specialize kinds.
However this doesn't compile in `ghc-8.0.2` [due to limitations in the type
system](https://github.com/rampion/kinder-functor/issues/1), though this may be
possible in a future version of GHC.

# Literate Haskell

Expand Down

0 comments on commit 20e5c57

Please sign in to comment.