Skip to content

Commit c1ec2d3

Browse files
authored
Merge pull request #497 from yellowsquid/patch-1
Fix typo in Implied Bounds book chapter
2 parents 80c0abd + edc9774 commit c1ec2d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/src/clauses/implied_bounds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ forall<T> { Implemented(T: B) :- FromEnv(T: B). }
224224
forall<T> { FromEnv(T: A) :- FromEnv(T: B). }
225225
226226
forall<T> { Implemented(T: C) :- FromEnv(T: C). }
227-
forall<T> { FromEnv(T: C) :- FromEnv(T: C). }
227+
forall<T> { FromEnv(T: B) :- FromEnv(T: C). }
228228
```
229229
So these clauses are defined globally (that is, they are available from
230230
everywhere in the program) but they cannot be used because the hypothesis

0 commit comments

Comments
 (0)