Skip to content

Request: More functions on dynamic tuples. #116

@scgehin

Description

@scgehin

Dynamic tuples are very hard to use without "less" and "contains?" defined for them. In addition, tuple keys don't have a way to query their default value. This makes it impossible to recreate a tuple, to redefine a tuple (i.e. with a key name changed), or to create a tuple that is a sub-set of another tuple, unless you are willing to store the default values in the tuple instead of leaving them sparse. Other operations that maps have would probably be helpful, but this is the biggest obstacle for me right now.
I imagine these are planned, and I'm also making this request to offer help in implementing them. I'm really enjoying FSet and would like to contribute if I can. I'm also curious if there is any interest in more struct-like static tuples. I've been considering implementing these on my own on top of seqs.

Metadata

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