sqlite-simple
sqlite-simple copied to clipboard
Create and expose`queryNamedWith`
I missed that specific function because I couldn't put a type constraint (FromRow
) in some typeclass.
Is there a reason this was not merged?
The previous maintainer went missing and I took over after your PR. I just saw your reminder. Is there any special reason not to have analogs like foldNamedWith
? I think that well-defined analogs for the With
should be defined. For that matter I wonder why there is queryWith
but not foldWith
. I think these matters should be handled together instead of in a piecewise manner, with the principle that the With
and Named
variants should be defined wherever reasonable.