[m-dev.] Re: The Great Computer Language Shootout

Robert Jeschofnik rejj at students.cs.mu.oz.au
Fri Jan 12 14:08:08 AEDT 2001


On 10-Jan-2001, Ralph Becket <rbeck at microsoft.com> wrote:
> From Fergus Henderson on 10/01/2001 10:39:12
> > > I'd vote (a) for having a function rather than a predicate and 
> > 
> > I think a predicate is likely to be more useful,
> > since this would commonly be used with DCGs.
> 
> I find I rarely use DCGs except when handling IO.  There's
> certainly a case for a pred version for just this situation,
> but personally I think I'd end up using the func version most.

I also think that it should be a predicate.

Ralph, I'm not sure if you have noticed, but you seem to be the only
person I know (of) that wants to use functions for everything in a
logic programming language. :)
There are places where they just aren't appropriate.



rob
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list