File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
main/scala/progscala3/meta
script/scala/progscala3/contexts Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ object invariant1:
66
77 /**
88 * Throw an exception if the predicate is false before the block is
9- * evaluatad , then evaluate the block, then check the predicate again.
9+ * evaluated , then evaluate the block, then check the predicate again.
1010 * If all predicate checks pass, then return the block's value.
1111 */
1212 inline def apply [T ]( // <2>
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ object O1:
1313// tag::imports[]
1414import O1 .* // Import everything EXCEPT the givens, c1 and c2
1515import O1 .given // Import ONLY the givens (of type C1 and C2)
16- import O1 .{given , * } // Import everything, givens and non-givens in O1
16+ import O1 .{given , * } // Import everything, givens and nongivens in O1
1717import O1 .{given C1 } // Import just the given of type C1
1818import O1 .c2 // Import just the given c2 of type C2
1919// end::imports[]
You can’t perform that action at this time.
0 commit comments