[Haskell-cafe] Re: request for code review

Lennart Augustsson lennart at augustsson.net
Sun Mar 12 10:05:34 EST 2006


Shannon -jj Behrens wrote:
> lexString ('*':cs) = (classifyString "*", cs)
> lexString (c:cs) = (classifyString [c], cs)
> 

The first line isn't needed, it does the same as the second line.


More information about the Haskell-Cafe mailing list