You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No instance for (Database.MySQL.Simple.QueryParams.QueryParams
(In [Int]))
arising from a use of `query'
Possible fix:
add an instance declaration for
(Database.MySQL.Simple.QueryParams.QueryParams (In [Int]))
In a stmt of a 'do' expression:
strs <- query
conn "SELECT us_nick FROM players WHERE us_person_id IN ?" (In ids)
It's actually easy to work around using 'Only $ In ...' but since it is not in docs I think it's a bug.
The text was updated successfully, but these errors were encountered:
Gentle bump. Would it be possible to upload a new version? The latest docs on hackage still have the bad example. The corrected documentation would have saved me 10 minutes, no doubt it will help others too.
No instance for (Database.MySQL.Simple.QueryParams.QueryParams
(In [Int]))
arising from a use of `query'
Possible fix:
add an instance declaration for
(Database.MySQL.Simple.QueryParams.QueryParams (In [Int]))
In a stmt of a 'do' expression:
strs <- query
conn "SELECT us_nick FROM players WHERE us_person_id IN ?" (In ids)
It's actually easy to work around using 'Only $ In ...' but since it is not in docs I think it's a bug.
The text was updated successfully, but these errors were encountered: