[Haskell-cafe] Regular Expressions,
was Re: Interest in helping w/ Haskell standard
Bulat Ziganshin
bulatz at HotPOP.com
Sat Oct 15 14:06:38 EDT 2005
Hello Conor,
Saturday, October 15, 2005, 4:47:02 PM, you wrote:
>> Now lets consider using an algebraic datatype for regexps:
>>
>> data RegExp
>> = Empty | Single Char | RegExp :+: RegExp | RegExp :|: RegExpt | Iter RegExp
btw, a year ago i written RE processing library, which used Parsec
both to parse and compile regexpr itself and to parse input string according to
compiled regexpr. i think, this have no practical meaning, but may be
included in parsec library as intersting example of its usage :)
unluckily, i dont debugged it and so don't send it to parsec author
--
Best regards,
Bulat mailto:bulatz at HotPOP.com
More information about the Haskell-Cafe
mailing list