checkLine
:: String -> [Message]
|Convert source string step by step: 1) replace tabs by two blanks for better character counting 2) convert string into list of strings, separated by lines
3) number lines consecutively
4) calls the lineLength function for every line
|
lineLength
:: Int -> (Int,String) -> [Message]
|Count characters in a line |
tabs2Blanks
:: String -> String
|
|Convert source string step by step:
1) replace tabs by two blanks for better character counting
2) convert string into list of strings, separated by
|
|Count characters in a line
|
|