Skip to content

Linked lists #102

@danilopedraza

Description

@danilopedraza

Some features encourage to use some cons based programming patterns. The motivation for these patterns is that linked lists are under the hood. However, Komodo does not have linked lists. They should be added.

I propose this syntax:

let isLL(%[..]) := true
let isLL(_) := false

assert(%[].isLL())

They clearly should allow the cons syntax (%[first|tail]). I don't know if they should allow access by index. Probably not.

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