That's why it's called a "tour", not a reference documentation ;) Reference docs are being written, and are updated here
http://docs.ooc-lang.org/ from this git repo
http://github.com/nddrylliog/ooc-docs If you want to help you're welcome.
> A compiler is not a cuddly teddy bear
Why, shouldn't it? I always found gcc so cold and all. Friendly compilers surely aren't so bad. I could do a -hardass flag if you wanted.
> Previous function example speicifes a return type, why
doesn't this one?
Wohow, my bad. Fixed in the doc.
> The strange little dots
Actually they are strange, because they're unexpected. It's a bit of the syntax that would probably most appeal to perl hackers, and is totally optional.
EDIT: Realized the return type was missing in add: func definition. :/ sorry.
> A compiler is not a cuddly teddy bear
Why, shouldn't it? I always found gcc so cold and all. Friendly compilers surely aren't so bad. I could do a -hardass flag if you wanted.
> Previous function example speicifes a return type, why doesn't this one?
Wohow, my bad. Fixed in the doc.
> The strange little dots
Actually they are strange, because they're unexpected. It's a bit of the syntax that would probably most appeal to perl hackers, and is totally optional.
EDIT: Realized the return type was missing in add: func definition. :/ sorry.