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

Sebastian Fischer sebf at informatik.uni-kiel.de
Tue Jul 27 01:09:52 EDT 2010

On Jul 27, 2010, at 6:57 AM, Sebastian Fischer wrote:

> Maybe I'll add it [noMatch] to the next version. I only need a  
> better string representation ;)

Ha! It's already provided by character classes:

     ghci> accept (fromString "[]") "abc"

I'll add

     noMatch :: RegExp c
     noMatch = psym "[]" (const False)


Underestimating the novelty of the future is a time-honored tradition.

More information about the Haskell-Cafe mailing list