ref: 3fccc8ae5d24b1ec3e15facbb765a219f5438c2c
parent: 58785aa9f3a6fc22a00e4cd0597fc3563dca6c76
author: Ori Bernstein <[email protected]>
date: Thu Aug 23 19:36:39 EDT 2012
Fix grammar.
--- a/doc/lang.txt
+++ b/doc/lang.txt
@@ -132,13 +132,13 @@
var y
- Declares a generic with type '@a', and assigns it the value
+ Declare a generic with type '@a', and assigns it the value
'blah'. Every place that 'z' is used, it will be specialized,
and the type parameter '@a' will be substituted.
generic z : @a = blah
- Declares a function f with and without type inference. Both
+ Declare a function f with and without type inference. Both
forms are equivalent. 'f' takes two parameters, both of type
int, and returns their sum as an int