summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-12-28 01:17:02 +0100
committerAraq <rumpf_a@web.de>2013-12-28 01:17:02 +0100
commitbf205fa85d5b3b1caa5f7def0e2d73999ddfb6a9 (patch)
tree5dd7d10689704277a78cccecb4c48a80fe36b046 /lib/system.nim
parent9c3751a37c1ccba33853fbdab3e87e3af95deec5 (diff)
downloadNim-bf205fa85d5b3b1caa5f7def0e2d73999ddfb6a9.tar.gz
case consistency part 6
Diffstat (limited to 'lib/system.nim')
-rw-r--r--lib/system.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 7df4be4df..b320f14dd 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -732,10 +732,10 @@ proc contains*[T](s: TSlice[T], value: T): bool {.noSideEffect, inline.} =
   result = s.a <= value and value <= s.b
 
 template `in` * (x, y: expr): expr {.immediate.} = contains(y, x)
-template `not_in` * (x, y: expr): expr {.immediate.} = not contains(y, x)
+template `notin` * (x, y: expr): expr {.immediate.} = not contains(y, x)
 
 proc `is` *[T, S](x: T, y: S): bool {.magic: "Is", noSideEffect.}
-template `is_not` *(x, y: expr): expr {.immediate.} = not (x is y)
+template `isnot` *(x, y: expr): expr {.immediate.} = not (x is y)
 
 proc `of` *[T, S](x: T, y: S): bool {.magic: "Of", noSideEffect.}