Permalink
Browse files

Update 002-covers-vs-classes.md

  • Loading branch information...
1 parent 460c639 commit edc4d05b1b14a75efca98dca391fbbf982048751 @cdrubin cdrubin committed Mar 31, 2013
Showing with 4 additions and 5 deletions.
  1. +4 −5 002-covers-vs-classes.md
View
@@ -1,4 +1,3 @@
-
When to use covers and classes
==============================
@@ -48,16 +47,16 @@ is changed to -1
### 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 edc4d05

Please sign in to comment.