on master help sign in
Oops, fix kind error
commit0af1a96c2923eccc9755f63ae82319d59c1ed5bd authorCsongor Kiss <kiss.csongor.kiss@gmail.com> dateTue 27 Feb 2018, 21:55 (9 years ago) parentdf10d4a
1 file changed+1−1
test/Bifunctor.hs+1−1
test/Bifunctor.hs+1−1
@@ -24,7 +24,7 @@ data Tree a w = Leaf a
2424 | WithWeight (Tree a w) w
2525 deriving (Show, Eq, Generic)
2626
27−deriving instance Bifunctor (Tree a w)
27+deriving instance Bifunctor Tree
2828
2929mytree :: Tree Int Int
3030mytree = Fork (WithWeight (Leaf 42) 1)