aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.