From cc5229695b1ca66267d25f99b8b90619aa573a43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Thu, 3 Feb 2022 21:37:09 +0100 Subject: 003.ex: Apply Elixir community style guide --- 003.ex | 4 ++-- 1 file 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() -- cgit v1.2.3