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