Skip to content

Rename list's "car"/"cdr" to "head"/"tail" #1086

Closed
@kud1ing

Description

@kud1ing

I think the meaning of "head" and "tail" would be easier to guess and remember.

Also recent languages such as Haskell ("head", "tail"), OCaml ("hd", "tl") and F# ("Head", "Tail") tend to prefer those more literal names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.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