When I use the import statement I lose the ability to indent functions ahead of the import statement, for example:
import Data.Char
example = isLower
This runs fine, but if I write:
import Data.Char
example = isLower
I get the following error: parse error on input ‘example’. (Whether i use tabs or spaces to indent)
However, if I use no import statement at all, I can indent the functions however I like
I would like to know why that happens and if there is anyway to solve the issue. Thanks in advance