Partial revert of commit 2550f740 to determine error source
This commit is contained in:
parent
2550f74056
commit
29189bf8f8
@ -25,22 +25,22 @@ _InnerJoinLeft f (E.InnerJoin l r) = (`E.InnerJoin` r) <$> f l
|
|||||||
_InnerJoinRight :: Lens' (E.InnerJoin l r) r
|
_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
|
||||||
|
|
||||||
-- TEST HADDOCK
|
|
||||||
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
|
||||||
|
|
||||||
-- instance (HasCourse a) => HasCourse (Entity a) where
|
-- instance (HasCourse a) => HasCourse (Entity a) where
|
||||||
-- hasCourse = _entityVal . hasCourse
|
-- hasCourse = _entityVal . hasCourse
|
||||||
|
|
||||||
makeLenses_ ''User
|
-- makeLenses_ ''User
|
||||||
-- makeClassyFor_ "HasUser" "hasUser" ''User
|
makeClassyFor_ "HasUser" "hasUser" ''User
|
||||||
-- > :info HasUser
|
-- > :info HasUser
|
||||||
-- class HasUser c where
|
-- class HasUser c where
|
||||||
-- hasUser :: Lens' c User -- MINIMAL
|
-- hasUser :: Lens' c User -- MINIMAL
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user