mirror of
https://github.com/circuithub/rel8.git
synced 2024-10-27 02:08:37 +03:00
Remove redundant parens (#51)
This commit is contained in:
parent
2ba99eaca8
commit
71f5ee60e4
@ -88,7 +88,7 @@ notation allows you to write these queries in a simpler form, where we don't
|
||||
have to introduce functions. Expanding on the latter query, we could write::
|
||||
|
||||
do user <- getAllUsers
|
||||
order <- getOrdersForUser (user)
|
||||
order <- getOrdersForUser user
|
||||
return (user, order)
|
||||
|
||||
Now we have a query that, for each ``User``, fetches all orders for that user.
|
||||
|
Loading…
Reference in New Issue
Block a user