-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
with-based functionality #3
base: master
Are you sure you want to change the base?
Conversation
This will allow for a more "standard" bracket to be imported.
Not really a streaming function, but useful in the withXXX paradigm.
Just for completeness.
To make it easier to only have to import the module from this library rather than also needing to bring in postgresql-simple.
Sorry for having this languish. There's quite a lot going on, so I'll try and put some time aside to review. |
If you're OK with the functionality, I'll add a variant based upon |
As well as, or instead? I feel the API of this package is growing rather surprisingly large, which is mostly the bit I want to think about. |
In addition to, in a separate module. Even the functions in this PR could be in a separate module if you'd prefer to keep the surface of each module small. |
I'll have a think. Those are valid options. |
In the interest of reviving this PR, I can think of the following options:
What is your preference? |
In light of the discussion in michaelt/streaming#23 this adds with-style continuation parsing style variants of all functions except
copyIn
, as well as some convenience functions/re-exports.