remove input padding
This commit is contained in:
parent
c7b996aea5
commit
32e036b925
1 changed files with 0 additions and 2 deletions
|
@ -31,8 +31,6 @@ part2 = fn s ->
|
||||||
for [pre, curr, post] <-
|
for [pre, curr, post] <-
|
||||||
s
|
s
|
||||||
|> Enum.reject(&(String.length(&1) == 0))
|
|> Enum.reject(&(String.length(&1) == 0))
|
||||||
|> then(fn x -> Enum.concat([""], x) end)
|
|
||||||
|> then(fn x -> Enum.concat(x, [""]) end)
|
|
||||||
|> Enum.chunk(3, 1)
|
|> Enum.chunk(3, 1)
|
||||||
|> Enum.map(fn u -> Enum.map(u, &String.trim/1) end),
|
|> Enum.map(fn u -> Enum.map(u, &String.trim/1) end),
|
||||||
curr |> String.contains?("*"),
|
curr |> String.contains?("*"),
|
||||||
|
|
Loading…
Add table
Reference in a new issue