-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Attempting to read a file and add domain constraints.
?- foldl(clpz:\/, [3..4,8..10,15..20],0..0,X).
error(syntax_error(incomplete_reduction),read_term/3:1).workaround:
append_domains(C1,C2,C3):-
C3=C1\/C2.
?- foldl(append_domains, [3..4,8..10,15..20],0..0,X).
X = 15..20\/(8..10\/(3..4\/0..0))I don't understand why folding \/ over a list doesn't work, or why it can't be used as an argument to call.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels