Strip comments from a string: Difference between revisions
m
→Functional
m (→Functional) |
|||
Line 1,360:
# stripComments :: [Char] -> String -> String
def stripComments(cs):
'''The lines of the input text
comments (defined as starting with one
of the characters in cs) stripped out.
|