Skip to content

Conversation

@nishantjr
Copy link
Member

@nishantjr nishantjr commented Apr 20, 2020

This has two advantages:

  • It is more efficient, since when executing a strategy rules only try matching on the first goal, and not all the goals in the goal cell
  • When functions use local-contexts we no longer need to specify a goalId

@nishantjr nishantjr requested review from h0nzZik and lucaspena April 29, 2020 14:13
@nishantjr nishantjr changed the title configuration: Replace Set of <goal>s with list. Only first goal is active Use a list of <goal>s instead of a set Apr 29, 2020
Copy link
Collaborator

@h0nzZik h0nzZik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens when user (using Kore) specifies multiple goals? How does the list of goals look when proving the second goal? Is the second goal on top of the list?

@nishantjr
Copy link
Member Author

Since the k cell is merged with the the claim cell, $PGM is part of an initial goal.
Multiple claims are dispatched as subgoals one at a time with the first one being proved first.

@h0nzZik h0nzZik merged commit ffbb633 into master Apr 29, 2020
@h0nzZik h0nzZik deleted the list-of-claims branch April 29, 2020 19:51
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

Successfully merging this pull request may close these issues.

3 participants