2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00
LaTeX-examples/documents/Programmierparadigmen/scripts/prolog/binary-tree-example.pl

8 lines
172 B
Perl
Raw Normal View History

2014-04-05 18:18:47 +02:00
T0 = t(a, nil, nil).
T1 = t(a, t(b, nil), t(c, nil)).
T2 = t(a, t(b, t(c, nil, nil),
t(d, nil, nil)
),
t(e, nil, nil)
).
T3 = nil