[m-rev.] lex and moose changed

Holger Krug hkrug at rationalizer.com
Fri Aug 3 03:05:39 AEST 2001


> > What about a function
> > 
> > :- func common_regexp(string) = regexp.
> > :- mode common_regexp(in) = out is semidet.
> > :- mode common_regexp(out) = in is det.
> > 
> > which converts from regular expressions as used in perl, egrep etc.
> > to Lex's regexp ?
> 
> I've got something to do that hidden away.  It isn't tested,
> but I'd be happy to pass it on to you.
> 
> I actually quite like the lex syntax with the typeclass extension as
> I find it more readable.

I, too, but maybe there are others ... so we can provide it additionally.
Please, pass it on.

-- 
Holger Krug
hkrug at rationalizer.com
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list