Skip to content

RFC: change signature of hmset #17

Open
@lukepalmer

Description

It seems more natural to have the signature be:

val hset
: t ->
elements:(string * string) list ->
string ->
(int, [> common_error]) Deferred.Result.t

It seems odd to have ~element and ?elements, which I mostly need to write special case code each time to use.

Happy to make the change, but I don't have a sense of how big of a deal it is to break compatibility, though. Let me know what you think.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions