Update README.md
The application of `just` is unnecessary, and actually leads to a type error.
This commit is contained in:
parent
135064684c
commit
67b75ce0ab
@ -158,7 +158,7 @@ However, you may want your results to include people who don't have any blog pos
|
|||||||
```haskell
|
```haskell
|
||||||
select $
|
select $
|
||||||
from $ \(p `LeftOuterJoin`` mb) -> do
|
from $ \(p `LeftOuterJoin`` mb) -> do
|
||||||
on (just (p ^. PersonId) ==. mb ?. BlogPostAuthorId)
|
on (p ^. PersonId ==. mb ?. BlogPostAuthorId)
|
||||||
orderBy [asc (p ^. PersonName), asc (mb ?. BlogPostTitle)]
|
orderBy [asc (p ^. PersonName), asc (mb ?. BlogPostTitle)]
|
||||||
return (p, mb)
|
return (p, mb)
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user