[mercury-users] Is "High order predicates" realy high order?

Mike Potanin potanin at mccme.ru
Thu Nov 21 23:10:48 AEDT 2002


Do Mercury have syntax for pred it return another pred?
Can I write?
:-pred pp(pred (pred (X), pred (X))).
:-mode pp(pred((pred (in) is det), (pred (out) is det)) is det) is det.


--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list