Skip to content

Support Quoting of Dotted Pairs #15

@iwillspeak

Description

@iwillspeak

Currently dotted pairs are quoted as a list conianing the dot as an identifier. It
seems like Scheme expectes them to be quoted as a pair instead. It could be
that we need to add support for pairs as a new literal type too.

Given:

'(a . b)

We expect it to become:

(a . b) ; ~> (pair (quote a) (quote b))

But in fact it becomes:

(a |.| b) ; ~> (list (quote a) (quote |.|) (quote b))

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions