summaryrefslogtreecommitdiff
path: root/prolog/problems/lists/conc_3/common.py
blob: 29a39197e8131cad01406487d5ca61e57cfbf0c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
id = 104
group = 'lists'
number = 12
visible = True
facts = None

solution = '''\
conc([], L, L).
conc([H|T], L2, [H|L]) :-
  conc(T, L2, L).
'''