Hi!<br>I'm new to Haskell and FP so i've got some problems. I wrote this code :<br><br>getNr :: Int -> Int<br>getNr x = do<br> putStrLn ("enter " ++ x ++ " number:")<br> nr <- getLine<br> return nr
<br><br>And when I try to load it to GHCi I get an error (there is also plenty of others but they look the same):<br><br>couldn't match Int against t t1<br><br>Help needed.<br>