on master help sign in
nested-if indentation fix
commit7eab2aff7c642fecd37ff88e1bb0f140a0218ba9 authorShruti_Umat <111701027@smail.iitpkd.ac.in> dateTue 9 Jun 2020, 22:41 (6 years ago) parent03ee5ef
1 file changed+2−2
test/Streamly/Test/Internal/Data/Fold.hs+2−2
test/Streamly/Test/Internal/Data/Fold.hs+2−2
@@ -101,8 +101,8 @@ nth :: Int -> [a] -> Maybe a
101101nth idx (x:xs) = if idx == 0
102102 then Just x
103103 else if idx < 0
104− then Nothing
105− else nth (idx - 1) xs
104+ then Nothing
105+ else nth (idx - 1) xs
106106nth _ [] = Nothing
107107
108108