Skip to content

Commit 62f491c

Browse files
committed
Indentation
1 parent fcbc1c7 commit 62f491c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

2015/day1-haskell/Main.hs

+3-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ fn2 [] index count = -1
1818
fn2 (x:xs) index count =
1919
if count == -1
2020
then index
21-
else
22-
if x == '('
23-
then fn2 xs (index + 1) (count + 1)
24-
else fn2 xs (index + 1) (count - 1)
21+
else if x == '('
22+
then fn2 xs (index + 1) (count + 1)
23+
else fn2 xs (index + 1) (count - 1)

0 commit comments

Comments
 (0)