on master help sign in
Oops, fix kind error
0af1a96Csongor Kiss
test/Bifunctor.hs+1−1
@@ -24,7 +24,7 @@ data Tree a w = Leaf a
24 | WithWeight (Tree a w) w
24 | WithWeight (Tree a w) w
25 deriving (Show, Eq, Generic)
25 deriving (Show, Eq, Generic)
26
26
27−deriving instance Bifunctor (Tree a w)
27+deriving instance Bifunctor Tree
28
28
29mytree :: Tree Int Int
29mytree :: Tree Int Int
30mytree = Fork (WithWeight (Leaf 42) 1)
30mytree = Fork (WithWeight (Leaf 42) 1)