examples/HDBC/PostgreSQL: add comment about strength of type restriction.

This commit is contained in:
Kei Hibino 2017-11-25 02:49:04 +09:00
parent 639ab947da
commit 7a621b1df7

View File

@ -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'