Browse Source

ignore mores tuff

Getty Ritter 4 years ago
parent
commit
28f7ac5fb5
2 changed files with 3 additions and 1 deletions
  1. 2 0
      .gitignore
  2. 1 1
      01/main.pony

+ 2 - 0
.gitignore

@@ -1 +1,3 @@
 input.txt
+*~
+*.txt

+ 1 - 1
01/main.pony

@@ -40,7 +40,7 @@ actor Main
       with file = OpenFile(FilePath(env.root as AmbientAuth, "input.txt", caps)?) as File
     do
         // iterate through the lines of the file
-        let sum = Iter[String iso^](file.lines())
+        let sum = Iter[String](file.lines())
                     // try to parse all the lines as a number
                     .filter_map[U64]({(str) => try str.u64()? else None end})
                     // calculate the amount of fuel required for each one