Skip to content
Browse files

Merge pull request #7 from cdrubin/patch-2

Update 002-covers-vs-classes.md
  • Loading branch information...
2 parents 1a454e1 + edc4d05 commit 633c10dcf0dae1992841b6546eb42a7f2cac9dfd @nddrylliog nddrylliog committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 002-covers-vs-classes.md
View
8 002-covers-vs-classes.md
@@ -46,16 +46,16 @@ Since 'n' refers to 'answer', the code will modify its member 'value' and set it
### Covers ###
-Covers are trickier. There are two types of covers: primitive covers, and compound covers
+Covers are trickier. There are two types of covers: primitive covers and compound covers
-Primitive covers allow to add methods to an existing type. For implementations
-of ooc on top of C, it means you can do stuff like:
+Primitive covers allow to us to add methods to an existing underlying type. For implementations
+of ooc on top of C this means you can do stuff like:
~~~
Int: cover from int
~~~
-And it's actually the way all C types are used from ooc.
+This is actually the way all C types are used within ooc.
As a consequence, covers are by-value. Which means that

0 comments on commit 633c10d

Please sign in to comment.
Something went wrong with that request. Please try again.