← nimrepo

somechange

556ea2cd9449d21bf5f74da049564d90d3ec6f2a · ovidiucs · Feb 18, 2019 20:31

−8 · 1 file changed

  • streamsofdata.nim +0 −8
diff --git a/streamsofdata.nim b/streamsofdata.nim
index 134d4ab..4ef7f4a 100644
--- a/streamsofdata.nim
+++ b/streamsofdata.nim
@@ -30,11 +30,3 @@ while ss.readline(line):
   echo line
 ss.close
 
-let
-  x = [0, 1, 2]
-  a = len([0, 1, 2]) # ok
-  b = len @[0, 1, 2]  # ok
-  c = len x # ok
-  d = len [0, 1, 2] # fails
-
-echo x,a,b,c,d