Skip to content

Conversation

@mheinzel
Copy link
Collaborator

Description

Instead of splitting the whole module as proposed in #432, we might want to just move more logic out of the Internal module (without API types like Cursor and TableHandle). I also documented that approach in the module description.

Comment on lines 3 to 13
-- | The internal API here is defined in terms of untyped serialised keys,
-- values and blobs. It makes no distinction between normal and monoidal tables,
-- accepting both blobs and mupserts.
--
-- This module mainly deals with concurrency- and exception-safe opening and
-- closing of resources. Any other non-trivial logic should live somewhere else.
--
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, it is indeed helpful if we record the intention of the module here. Maybe we should also note here that this module is, in a way, bringing all internal parts together to implement the public API.

@mheinzel mheinzel force-pushed the mheinzel/module-cursor branch from a5fe228 to 4f48704 Compare October 21, 2024 11:36
@mheinzel mheinzel enabled auto-merge October 21, 2024 11:36
@mheinzel mheinzel added this pull request to the merge queue Oct 21, 2024
Merged via the queue into main with commit 79ae97f Oct 21, 2024
24 checks passed
@mheinzel mheinzel deleted the mheinzel/module-cursor branch October 21, 2024 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants