Test Problem with makeClassy: just using one now
This commit is contained in:
parent
e58e33e47f
commit
b1231978cc
@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user