Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No deref on HO variable when unifying? #232

Open
FissoreD opened this issue May 27, 2024 · 2 comments
Open

No deref on HO variable when unifying? #232

FissoreD opened this issue May 27, 2024 · 2 comments

Comments

@FissoreD
Copy link
Collaborator

This code does not work:

type f any -> o.

main :-
  P = x\x,             % p1
  pi x\ f x = A (P x), % p2
  A = f.               % p3

Error msg: Anomaly: Non deterministic pruning, delay to be implemented: t=A1 (≪.X0≫_0 c1), delta=0
I would expect that after p1, p2 becomes pi x\ f x = A x, so that A := (x\ f x) or better A := f

@gares
Copy link
Contributor

gares commented May 27, 2024

Surely a bug

@gares
Copy link
Contributor

gares commented Sep 19, 2024

Not a bug, but a missing feature. It seems move needs to do no restriction, but instead checks if doing it would be deterministic, and it would be not (but is also unnecessary)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants