summary refs log tree commit diff stats
path: root/examples/talk/lazyeval.nim
diff options
context:
space:
mode:
Diffstat (limited to 'examples/talk/lazyeval.nim')
-rw-r--r--examples/talk/lazyeval.nim12
1 files changed, 0 insertions, 12 deletions
diff --git a/examples/talk/lazyeval.nim b/examples/talk/lazyeval.nim
deleted file mode 100644
index 77d963834..000000000
--- a/examples/talk/lazyeval.nim
+++ /dev/null
@@ -1,12 +0,0 @@
-
-const
-  debug = true
-
-template log(msg: string) =
-  if debug:
-    echo msg
-var
-  x = 1
-  y = 2
-
-log("x: " & $x & ", y: " & $y)