Skip to content
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

Rework withKVDB #45

Open
graninas opened this issue May 24, 2020 · 0 comments
Open

Rework withKVDB #45

graninas opened this issue May 24, 2020 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@graninas
Copy link
Owner

The function currently is just an alias for evalKVDB:

evalKVDB :: forall db a. D.DB db => D.DBHandle db -> L.KVDBL db a -> LangL a

withKVDB :: forall db a. D.DB db => D.DBHandle db -> L.KVDBL db a -> LangL a
withKVDB = evalKVDB

But it can be more high level:

withKVDB :: forall db a. D.DB db => D.KVDBConfig db -> L.LangL a -> LangL a
@graninas graninas added enhancement New feature or request question Further information is requested labels May 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant