main = do let x = [1..5] putStrLn "Our list is:" print (x) putStrLn "The multiplication of the list elements is:" print (product x)
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more