-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Line 86 in aa5908a
| % add_n/3, adds a number and an interval. |
I think that maybe it'd be better to use add/3 adding the intervals i(N,N) and i(Xa,Xb) instead of rewriting the logic inside add_n/3.
How it could go like:
add_n(N, i(Xa, Xb), Sum) :-
add(i(N, N), i(Xa, Xb), Sum).What do you think @pmoura ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request