On Jul 27, 2010, at 7:09 AM, Sebastian Fischer wrote:

> I'll add
> 
>    noMatch :: RegExp c
>    noMatch = psym "[]" (const False)

Oh, by the way, with noMatch, eps, alt and seq_ RegExp is itself a Semiring, 
but I'm not sure what that would do.
--
Sjoerd Visscher
http://w3future.com




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

Reply via email to