meander

All things about https://github.com/noprompt/meander Need help and no one responded? Feel free to ping @U5K8NTHEZ
eraserhd 2019-12-13T01:04:33.489200Z

It's generally doing logic programming on a large map... I want to find all x such that y and z, with joins across the map. So yes.

eraserhd 2019-12-13T01:12:43.489400Z

Two possible solutions:

eraserhd 2019-12-13T01:13:07.489600Z

1. The naive parsing. If a variable which could be bound is mentioned in the body, make it bound first.

eraserhd 2019-12-13T01:13:25.489800Z

This would be wrong if we let-bind a variable name which is bound elsewhere.

eraserhd 2019-12-13T01:14:25.490Z

2. Metadata on the function indicating what it needs (in other words, manual).

eraserhd 2019-12-13T01:17:37.490400Z

3. A new syntax, (m/app' f pat & args), where no variables are bound during compilation of f, and f is applied to the match value and the args (which could be already-bound) and matched to pat.

noprompt 2019-12-13T01:18:52.491100Z

We could also try giving logic variables a priority.