MatchPS and RegexString are the "higher-level" ifaces, I'd
suggest not mucking about with Regex unless you want to
provide your own wrappers.

--sigbjorn

George Russell <[EMAIL PROTECTED]> writes:
> 
> Sven Panne wrote:
> > Could you be a little bit more precise, e.g. the signatures of which
> > functions should be changed and how?
> All the documented functions in the Regex module which return
> an "IO a" might as well return an "a".  For example,
> 
> recompile_pattern :: PackedString -> Bool -> Bool -> PrimIO PatBuffer
> might as well return a PatBuffer.
> 
> re_match :: PatBuffer -> PackedString -> Int -> Bool -> 
> PrimIO (Maybe REmatch)
> might as well return a Maybe REmatch.  And so on.
> 

Reply via email to