Skip to content

Commit d64bbef

Browse files
committed
HhGoal should now be GoalData
1 parent 5f3f0ad commit d64bbef

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

book/src/engine/logic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ As either `Answer`s are found for the selected `Table`, entries on the stack are
3434

3535
As mentioned before, whenever a new `Goal` is encountered, a new [`Table`] is
3636
created to store current and future answers. First, the [`Goal`] is converted into
37-
an `HhGoal`. If it can be simplified, then a `Strand` with one or more
37+
an `GoalData`. If it can be simplified, then a `Strand` with one or more
3838
subgoals will be generated and can be followed as above. Otherwise, if it is a
3939
`DomainGoal` (see above), then
4040
[`program_clauses_for_goal`](https://rust-lang.github.io/chalk/chalk_solve/clauses/fn.program_clauses_for_goal.html)

book/src/engine/major_concepts.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ logic.
77
## Goals
88

99
A "goal" in Chalk can be thought of as "something we want to prove". The engine
10-
itself understands `HhGoal`s. `HHGoal`s consist of the most basic logic,
10+
itself understands `GoalData`s. `GoalData`s consist of the most basic logic,
1111
such as introducing Binders (`Forall` or `Exists`) or combining goals (`All`).
1212
On the other hand, `Goal` represents an opaque goal generated
1313
externally. As such, it may contain any extra information or may be interned.
1414
When solving a logic predicate, Chalk will lazily convert `Goal`s
15-
into `HHGoal`s.
15+
into `GoalData`s.
1616

17-
There are three types of completely opaque `HhGoal`s that Chalk can solve:
17+
There are three types of completely opaque `GoalData`s that Chalk can solve:
1818
`Unify`, `DomainGoal`, and `CannotProve`. Unlike the other types of goals,
1919
these three cannot be simplified any further. `Unify` is the goal of unifying
2020
any two types. `DomainGoal` is any goal that can solve by applying a

0 commit comments

Comments
 (0)