Multifile func/3.

This commit is contained in:
Simon Forman
2019-08-11 18:45:57 -07:00
parent cd60816429
commit 79aa2f972d
5 changed files with 10 additions and 4 deletions
+1
View File
@@ -1,3 +1,4 @@
:- multifile(func/3).
func(+, [A, B|C], [D|C]) :-
E =.. [+, B, A],
catch(D is E, _, D = E).