Skip to content

Commit 0b5dc7e

Browse files
committed
Avoid name shadowing warnings
1 parent 0f26f4a commit 0b5dc7e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/Main.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import Lib (someFunc)
66
main :: IO ()
77
main = do
88
time <- F.getTime
9-
let pi = F.getPi
9+
let foreignPi = F.getPi
1010
let negPi = F.getNegPi
11-
let sum = F.negAdd 1 2
11+
let foreignSum = F.negAdd 1 2
1212
putStrLn $ show time
13-
putStrLn $ show pi
13+
putStrLn $ show foreignPi
1414
putStrLn $ show negPi
15-
putStrLn $ show sum
15+
putStrLn $ show foreignSum
1616
someFunc

0 commit comments

Comments
 (0)