[Haskell-cafe] Building ? using kleene closure {not haskell specific}

C K Kashyap ckkashyap at gmail.com
Fri Aug 12 10:01:03 CEST 2011

Hello gentle Haskell folks,

I happened to read "Beautiful code"'s chapter 1 today and found Brian
Kerninghan's regex implementation. In it he only shows the * meta character.
I can easily understand how + can be built but am having trouble with
building ? (zero or one). I'd really appreciate it if some one could help me
understand it.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110812/0888cca1/attachment.htm>

More information about the Haskell-Cafe mailing list