No parens
This commit is contained in:
parent
0956d914c7
commit
b861e02a51
|
@ -7,4 +7,4 @@ proc part1*(s: Stream): int =
|
|||
s.asGroups.mapIt(it.foldl(a.union(b.toHashSet), initHashSet[char]()).len).foldl a + b
|
||||
|
||||
proc part2*(s: Stream): int =
|
||||
s.asGroups.mapIt(it.foldl(a.intersection(b.toHashSet), toSeq('a'..'z').toHashSet).len).foldl(a + b)
|
||||
s.asGroups.mapIt(it.foldl(a.intersection(b.toHashSet), toSeq('a'..'z').toHashSet).len).foldl a + b
|
||||
|
|
Loading…
Reference in a new issue