| 
 | 
вернуться в форумHaskell need help, please I'm only start to learn Haskell. I'm confused with std function and IO.   My solution (does not work): main = do    a <- getLine    let b = sum map read words a // <- I try to use this functions    putStrLn (show b)   let b = words a // work, but let b = sum map (read::Int) words a //does not work   Where I wrong? Re: Haskell need help, please Re: Haskell need help, please Thank you very much :)  |  
  | 
|