Skip to content

What sequence types to have #1

@lassik

Description

@lassik

How about the following sequence types fo Twinjo:

  • list (A list of the most convenient type in the host language: either a vector or a proper linked list.)

  • vector (Definitely a vector.)

  • llist (Definitely a proper linked list.)

  • dotted-llist (A linked list with the given tail. If the tail is a proper linked list, the result is also a proper linked list. Otherwise the result is an improper linked list.)

How to represent circular lists?

(Current types: https://go.scheme.org/twinjotypes)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions