Skip to content

Assert domain from set of values #13

Open
@lewtds

Description

@lewtds

I see from your knight's tour example , you wrote a small utility to convert a list of values to a domain:

foldl(num_to_dom, Nexts, Next, Dom)

where:

num_to_dom(N, D0, D0\/N).

I think this should be part of the library itself. Something like:

Var in_set [1, 2, 3, 4]
Vars ins_set [1, 2, 3, 4]

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