-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request library(aggregate) #603
Comments
Try copying aggregate.pl over on your system. I won't include it in Trealla as it seems to be the sole work of Jan. I couldn't access your numbrix attachment. |
Not sure whether you can run SWI-Prolog of SWI-Prolog. I don't find https://github.com/trealla-prolog/trealla So simply copying over aggregate.pl is possibly not an option. BTW: Second try to upload Numbrix: |
With I introduced
|
Wanted to run Numbrix Puzzle. Banged my head here:
I know that I can use countall/2 instead:
But the countall/2 looks a little limited to me. Its
not future proof. What if we want i.e. failure driven loop
summing or failure driven multiplication,
does this mean for every new aggregate there will
be a new predicate sumall/2, predall/2, etc... Not
sure whether this is a way ahead,
since library(aggregate) usually offers more. In
the world of aggregates there are equivalents of
aggregates to findall/3 and bagof/3 which can
reuse the same aggregates. So what the library
offers is only 2-3 predicates such as aggregate_all/3
and aggregate/3, plus a set of aggregates.
The text was updated successfully, but these errors were encountered: