git @ Cat's Eye Technologies ZOWIE / a9aca7e
Remove unused function. Chris Pressey 5 months ago
1 changed file(s) with 0 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
77
88 import Language.ZOWIE.State
99
10
11 splitLines :: String -> String -> [String]
12 splitLines [] line = [reverse line]
13 splitLines ('\n':rest) line = [reverse line] ++ (splitLines rest [])
14 splitLines (char:rest) line = splitLines rest (char:line)
1510
1611 --
1712 -- The grammar of a line is