Updated Common Criticisms (markdown)

This commit is contained in:
flaviut 2014-10-26 05:33:28 -07:00
parent 815c7c12e7
commit ce1174abdb
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ Possibly. The problem here is that of what mental metaphor is being used. In man
``` nimrod
proc foo(input: var T) = ...
proc foo(input: ref T) = ...
let a: ref T = ...
let a: ref T = ... # `let` says the value of the pointer is immutable
foo(a) # valid, this is Java-style
var b: T = ...
foo(b) # also valid