2 ms·
You can do this main = do let x = foo putStrLn "foo was never executed" but you can also do this def main(): x = foo print("f
by tome 10mo ago
You can do this
main = do
let x = foo
putStrLn "foo was never executed"
but you can also do this
def main():
x = foo
print("foo was never executed")
What's the difference?