minor cleanup

This commit is contained in:
Simon Forman
2019-08-20 22:00:27 -07:00
parent 6e646c012f
commit 558f45bf47
5 changed files with 32 additions and 11 deletions
+1
View File
@@ -1,4 +1,5 @@
:- multifile(func/3).
func(+, [A, B|C], [D|C]) :-
E =.. [+, B, A],
catch(D is E, _, D = E).