on master help sign in
nested-if indentation fix
7eab2afShruti_Umat
test/Streamly/Test/Internal/Data/Fold.hs+2−2
@@ -101,8 +101,8 @@ nth :: Int -> [a] -> Maybe a
101nth idx (x:xs) = if idx == 0
101nth idx (x:xs) = if idx == 0
102 then Just x
102 then Just x
103 else if idx < 0
103 else if idx < 0
104− then Nothing
104+ then Nothing
105− else nth (idx - 1) xs
105+ else nth (idx - 1) xs
106nth _ [] = Nothing
106nth _ [] = Nothing
107
107
108
108