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

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

More information about the Haskell-Cafe mailing list