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

why doesn't dict key unify? #42

Open
majidaldo opened this issue Nov 21, 2023 · 1 comment
Open

why doesn't dict key unify? #42

majidaldo opened this issue Nov 21, 2023 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@majidaldo
Copy link

in

from kanren import eq, var
k = list(
eq( {var('k'):'v'}, {'k': 'v'}   )({})  # var in key
)
v = list(
eq( {'k':var('v')}, {'k': 'v'}   )({})  # var in value
)
k,v

out

([], [{~v: 'v'}])
@brandonwillard brandonwillard added enhancement New feature or request help wanted Extra attention is needed labels Dec 4, 2023
@brandonwillard
Copy link
Member

It looks like this simply hasn't been implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants