feat: update structure
This commit is contained in:
5
cs2104/labs/concat.pl
Normal file
5
cs2104/labs/concat.pl
Normal file
@@ -0,0 +1,5 @@
|
||||
% concat/3
|
||||
concat(L1, [], L1).
|
||||
|
||||
concat([H|T_L1], L2, [H|T_L3]) :-
|
||||
concat(T_L1, L2, T_L3).
|
||||
Reference in New Issue
Block a user