The comments on the 'TokenParsing' type class suggest that 'someSpace' should parse at least one space but the instance of 'someSpace' for 'Unlined' also parses the empty string it's definition is:
someSpace = skipMany (satisfy $ \c -> c /= '\n' && isSpace c)
where it should probably be something like
someSpace = spaceNoNewline >> skipMany spaceNoNewline where
spaceNoNewline c = c /= '\n' && isSpace c
The comments on the 'TokenParsing' type class suggest that 'someSpace' should parse at least one space but the instance of 'someSpace' for 'Unlined' also parses the empty string it's definition is:
where it should probably be something like
minimal example: