fixes some typos
This commit is contained in:
parent
faea0f9a70
commit
2dfefc200b
3 changed files with 4 additions and 4 deletions
|
|
@ -81,7 +81,7 @@ allowing you to create commercial applications.
|
||||||
|
|
||||||
Read copying.txt for more details.
|
Read copying.txt for more details.
|
||||||
|
|
||||||
Copyright (c) 2006-2015 Andreas Rumpf.
|
Copyright (c) 2006-2016 Andreas Rumpf.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
# Build Status
|
# Build Status
|
||||||
|
|
|
||||||
|
|
@ -14,5 +14,5 @@ allowing you to create commercial applications.
|
||||||
|
|
||||||
Read copying.txt for more details.
|
Read copying.txt for more details.
|
||||||
|
|
||||||
Copyright (c) 2006-2015 Andreas Rumpf.
|
Copyright (c) 2006-2016 Andreas Rumpf.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,7 @@ The following used to work as the environment creation used to be attached to th
|
||||||
var s: seq[proc(): int {.closure.}] = @[]
|
var s: seq[proc(): int {.closure.}] = @[]
|
||||||
for i in 0 ..< 30:
|
for i in 0 ..< 30:
|
||||||
let ii = i
|
let ii = i
|
||||||
s.add(proc(): string = return ii*ii))
|
s.add(proc(): int = return ii*ii))
|
||||||
|
|
||||||
This behaviour has changed in 0.13.0 and now needs to be written as:
|
This behaviour has changed in 0.13.0 and now needs to be written as:
|
||||||
|
|
||||||
|
|
@ -119,7 +119,7 @@ per proc call. This change is subtle and unfortunate, but:
|
||||||
|
|
||||||
1. Affects almost no code out there.
|
1. Affects almost no code out there.
|
||||||
2. Is easier to implement and we are at a point in Nim's development process where simple+stable wins over perfect-in-theory+unstable-in-practice.
|
2. Is easier to implement and we are at a point in Nim's development process where simple+stable wins over perfect-in-theory+unstable-in-practice.
|
||||||
3. Implies programmers are more in control of where memory is allocated which is benefitical for a systems programming language.
|
3. Implies programmers are more in control of where memory is allocated which is beneficial for a systems programming language.
|
||||||
|
|
||||||
Bugfixes
|
Bugfixes
|
||||||
--------
|
--------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue