diff options
author | patrick dw <algorithicimperative@gmail.com> | 2015-06-18 23:49:46 -0500 |
---|---|---|
committer | patrick dw <algorithicimperative@gmail.com> | 2015-06-18 23:49:46 -0500 |
commit | 072688d06ebe757993f4a17e51e5e74145eb65fd (patch) | |
tree | 33bcf92ff3221d7397b7d7b0c30a0cea03e52f37 /lib/system/sysio.nim | |
parent | 37ff086c86129602c34f660cd4193c9a02273f81 (diff) | |
download | Nim-072688d06ebe757993f4a17e51e5e74145eb65fd.tar.gz |
Renamed writeln procs to writeLine
Diffstat (limited to 'lib/system/sysio.nim')
-rw-r--r-- | lib/system/sysio.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/system/sysio.nim b/lib/system/sysio.nim index 3f860655e..e84c7ac3a 100644 --- a/lib/system/sysio.nim +++ b/lib/system/sysio.nim @@ -208,9 +208,10 @@ proc endOfFile(f: File): bool = ungetc(c, f) return c < 0'i32 -proc writeln[Ty](f: File, x: varargs[Ty, `$`]) = +proc writeLine[Ty](f: File, x: varargs[Ty, `$`]) = for i in items(x): write(f, i) write(f, "\n") +{.deprecated: [writeln:writeLine].} proc rawEcho(x: string) {.inline, compilerproc.} = write(stdout, x) proc rawEchoNL() {.inline, compilerproc.} = write(stdout, "\n") |