I am using Ubuntu ARM as testing platform on a QEMU emulator. The emulator has 256MB of RAM, but I'm wondering: what are the minimum requirements for running Ubuntu ARM? (CLI only)
['https://Stackoverflow.com/questions/2016967', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/62802/']
Most of the time, it's because your code is mis-aligned and compiler assumes that your "do" block ended prematurely (or has extra code that dont really belong there)
Your last line isn't something like `someVar <- putStrLn "hello"`, by any chance, is it? You'll get that error if you try to do a variable binding on the last line, because it's equivalent to `putStrLn "Hello" >>= \someVar ->` — it expects there to be an expression at the end.