2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-25 14:28:05 +02:00
LaTeX-examples/documents/Programmierparadigmen/scripts/prolog/splits.pl

2 lines
67 B
Perl
Raw Normal View History

2014-03-09 19:06:23 +01:00
splits(L, ([], L)).
splits([X|L], ([X|S], E)) :- splits(L, (S, E)).