mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2024-12-28 22:44:11 +03:00
examples/HDBC/PostgreSQL: add comment about strength of type restriction.
This commit is contained in:
parent
639ab947da
commit
7a621b1df7
@ -219,7 +219,7 @@ userGroup3 =
|
||||
$ user `inner` membership `on'` [\ u m -> #id u .=. #userId m ]
|
||||
`inner'` specifiedGroup `on'` [ \ um g -> um ! #snd ! #groupId .=. #id g ]
|
||||
, let um = #fst umg
|
||||
u = (! #fst) um
|
||||
u = (! #fst) um --- operator (!) forces Pi type, but function apply does not force PI type.
|
||||
g = #snd umg
|
||||
|
||||
, () <- asc $ u ! User.id'
|
||||
|
Loading…
Reference in New Issue
Block a user