Skip to content

Bug: type-constraint not applied #29

Description

@timoniq

Expected and real behaviour:

query as_boolean(prime, x) = @false must produce only natural solutions for x due to prime signature ?prime(natural).

but it also produces integer results.

How to reproduce:

as_boolean(prime, x) = @false
-- to fix 'x' can be predefined
x ~ natural, as_boolean(prime, x) = @false

System info

laurelang: dev

OS: unix

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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