aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-02-03 21:37:09 +0100
committerRomain Gonçalves <me@rgoncalves.se>2022-02-03 21:37:09 +0100
commitcc5229695b1ca66267d25f99b8b90619aa573a43 (patch)
tree52a6ad5fe716d3c7ffc5c0e1782c60940f2afe4c
parent9ff679d025151184818542a155065da5dbcbc5a1 (diff)
downloadprojecteuler-cc5229695b1ca66267d25f99b8b90619aa573a43.tar.gz
003.ex: Apply Elixir community style guideHEADtrunk
-rw-r--r--003.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/003.ex b/003.ex
index 83bc349..8d07a5d 100644
--- a/003.ex
+++ b/003.ex
@@ -4,6 +4,6 @@ n = 600851475143
|> Enum.reduce_while(n, fn x, acc ->
if acc == x, do: {:halt, x}, else: {:cont, acc / x}
end)
-|> trunc
-|> IO.puts
+|> trunc()
+|> IO.puts()
remember that computers suck.