[Haskell-cafe] Re: request for code review

Shannon -jj Behrens jjinux at gmail.com
Mon Mar 13 21:58:11 EST 2006


On 3/12/06, Lennart Augustsson <lennart at augustsson.net> wrote:
> 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.

Good eye!  You are correct.

Thanks,
-jj


More information about the Haskell-Cafe mailing list