main = do print([1..10] >>= (\x -> if odd x then [x*2] else []))
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more