eignnx / eignnx/rellog

Underscore Variables

Open
#39 1 comment 0 reactions 0 assignees View on GitHub
bug enhancement good first issue syntax
Dominant language
Rust
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The underscore `_` is a valid variable name, but it doesn't mean the same as in prolog:

```
?- [1, 2] = [_|_].
true.

-- {1 2} = {_ .._}
- [false]
```

It ought to do the prolog thing i.e. spawn a **fresh** variable each time it's mentioned.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.