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 f (E.InnerJoin l r) = (l `E.InnerJoin`) <$> f r
|
||||
|
||||
-- TEST HADDOCK
|
||||
makeLenses_ ''Entity
|
||||
-- makeClassyFor_ "HasEntity" "hasEntity" ''Entity
|
||||
|
||||
-- makeLenses_ ''Entity
|
||||
makeClassyFor_ "HasEntity" "hasEntity" ''Entity
|
||||
-- class HasEntity c record | c -> record where
|
||||
-- hasEntity :: Lens' c (Entity record)
|
||||
|
||||
makeLenses_ ''Course
|
||||
-- makeClassyFor_ "HasCourse" "hasCourse" ''Course
|
||||
-- makeLenses_ ''Course
|
||||
makeClassyFor_ "HasCourse" "hasCourse" ''Course
|
||||
-- class HasCourse c where
|
||||
-- hasCourse :: Lens' c Course
|
||||
|
||||
-- instance (HasCourse a) => HasCourse (Entity a) where
|
||||
-- hasCourse = _entityVal . hasCourse
|
||||
|
||||
makeLenses_ ''User
|
||||
-- makeClassyFor_ "HasUser" "hasUser" ''User
|
||||
-- makeLenses_ ''User
|
||||
makeClassyFor_ "HasUser" "hasUser" ''User
|
||||
-- > :info HasUser
|
||||
-- class HasUser c where
|
||||
-- hasUser :: Lens' c User -- MINIMAL
|
||||
|
||||
Loading…
Reference in New Issue
Block a user