[EMAIL PROTECTED] wrote:
Sven Panne wrote:
On Friday 21 September 2007 20:19, Ronald Guida wrote:
John Wicket wrote:
yea, that is probably what I need. Can you post in a
step-by-step way.
Here is a set of instructions for what I had to do to get FreeGLUT
working with GHCi [...].
Oh
I am still in an imperative way of thinking. In this example here; how
would I call putStrLn and then set the function with a value. Eg:
aa :: String - IO ()
aa instr = do
putStrLn abc
putStrLn abc
return 123
--- The error I am getting.
Couldn't match expected type `()' against
`IO ()'
In the expression: putStrLn abc
In a 'do' expression: putStrLn abc
In the expression:
do putStrLn abc
putStrLn abc
return Az
On 9/24/07, Sam Hughes [EMAIL PROTECTED] wrote:
John Wicket wrote:
I am still in an imperative way of thinking. In this example