Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

List creation with lambda (a . b) (cons a b)  #5

@wboeke

Description

@wboeke

Hello,
To create a list, a common method is:
(define list (lambda (x . y) (cons x y)))
=> (list 2 3 4) -> (2 3 4)
However, komplot generates:
-> (2)
I tried to find a solution (near line 130 in komplott.c), but I did'nt come very far.
I have been playing with koplott, extended it with mutable strings and vectors etc. But this issue still is a problem.

Kind regards,
Wouter Boeke

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