[Haskell-cafe] Re: ANN: weighted-regexp-0.1.0.0

Sjoerd Visscher sjoerd at w3future.com
Tue Jul 27 03:15:15 EDT 2010


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






More information about the Haskell-Cafe mailing list