Skip to content

Cons getting, setting and unification #7

@matko

Description

@matko

While there is code for getting, setting and unifying lists with prolog terms, there's nothing for the more primitive cons cells that underly these lists. This is annoying, because not every data structure that can be built with cons cells is necessarily going to be a list. Furthermore, certain approaches to list building are easier when we can leave the tail as a variable which is then unified later.

We therefore need a way to work with cons cells directly. This'll also help in implementing the cons part of #5.

See #4 for earlier discussion on this.

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