Skip to content

Book uses academic term "arity" without definition #21568

Closed
@snej

Description

@snej

In the Compound Data Types chapter of the book, the term "arity" is used without any prior definition:

You can assign one tuple into another, if they have the same arity and contained types.

I've learned enough formal logic and programming language theory to know what "arity" means, but I suspect most programmers don't. (Neither does my spell checker!) And the book otherwise seems to be trying to use clear language and be readable by non-experts. I suggest changing it to:

You can assign one tuple into another, if they have the same number and type of items.

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions