mirror of
https://github.com/composewell/streamly.git
synced 2024-09-20 16:08:20 +03:00
nested-if indentation fix
This commit is contained in:
parent
03ee5ef784
commit
7eab2aff7c
@ -101,8 +101,8 @@ nth :: Int -> [a] -> Maybe a
|
||||
nth idx (x:xs) = if idx == 0
|
||||
then Just x
|
||||
else if idx < 0
|
||||
then Nothing
|
||||
else nth (idx - 1) xs
|
||||
then Nothing
|
||||
else nth (idx - 1) xs
|
||||
nth _ [] = Nothing
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user