x = do
first <- "mfwew"
let q = first
a <- q
let b = a
putStrLn (b)
return b
how to use the assigned variable "first" to a <- q?
thank you
I want to do something like this
do
b <- func a
c <- func1 b
func2 c
but this won't work. I know its because the IO type doesn't match, but is there other way to do it? Specifically, i want to use b again in x <- xxx b.