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:[EMAIL PROTECTED]



_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to