[eclipse-clp-users] my own sum

From: Bogdan Tanasa <g-bogta_at_ida.liu.se>
Date: Tue, 24 Aug 2010 14:18:20 +0200
Hi,

 

I would like to define  a predicate similar with sum / 2. According to the
manual :

 

call to sum(ExprList, Result) is equivalent to Result is sum(ExprList)

 

How can I do that ?

 

Thanks,

Bogdan.

 
Received on Tue Aug 24 2010 - 13:17:42 CEST

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET