Skip to content

List shouldnt always be subtype of list-of #33

Description

@githubforced2fabad

I am requesting pull from: https://git.sr.ht/~charje/ctype

nil is always a subtype of list-of so (coinjoin list-of nil) should become list-of. the same goes for disjoin.

list includes non-proper lists and (list-of t), which means every list is a subtype of list-of: (cons t (not null)).

patches if you like that better (eftnamed to .txt for github...):

0001-Disallow-list-being-a-subtype-of-list-of.txt
0002-Improve-conjoin-and-disjoin-of-list-of.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions