Test Problem with makeClassy: just using one now

This commit is contained in:
SJost 2019-02-21 15:41:38 +01:00
parent e58e33e47f
commit b1231978cc

View File

@ -26,13 +26,13 @@ _InnerJoinRight :: Lens' (E.InnerJoin l r) r
_InnerJoinRight f (E.InnerJoin l r) = (l `E.InnerJoin`) <$> f r _InnerJoinRight f (E.InnerJoin l r) = (l `E.InnerJoin`) <$> f r
-- makeLenses_ ''Entity makeLenses_ ''Entity
makeClassyFor_ "HasEntity" "hasEntity" ''Entity -- makeClassyFor_ "HasEntity" "hasEntity" ''Entity
-- class HasEntity c record | c -> record where -- class HasEntity c record | c -> record where
-- hasEntity :: Lens' c (Entity record) -- hasEntity :: Lens' c (Entity record)
-- makeLenses_ ''Course makeLenses_ ''Course
makeClassyFor_ "HasCourse" "hasCourse" ''Course -- makeClassyFor_ "HasCourse" "hasCourse" ''Course
-- class HasCourse c where -- class HasCourse c where
-- hasCourse :: Lens' c Course -- hasCourse :: Lens' c Course