The error at the problem line is: parse error on input `<-' If I move the line above the ’if’ I get: Couldn't match expected type `CGIT IO t0' with actual type `IO [String]'.
The error at the problem line is: parse error on input `<-'
If I move the line above the ’if’ I get: Couldn't match expected type `CGIT IO t0' with actual type `IO [String]'.