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. >
RE: Minor grumbles: PackedString and Regex
Sigbjorn Finne (Intl Vendor) Mon, 18 Oct 1999 00:56:43 -0700
- Minor grumbles: PackedString and Regex George Russell
- Re: Minor grumbles: PackedString and Re... Sven Panne
- Re: Minor grumbles: PackedString an... George Russell
- Sigbjorn Finne (Intl Vendor)
