P-99: 4.02 Construct completely balanced binary trees
P-99: Ninety-Nine Prolog Problemsの問題にMercuryで解答していきます.
t('x', t('x', t('x', nil, nil), nil), t('x', nil, nil)) t('x', t('x', nil, t('x', nil, nil)), t('x', nil, nil)) t('x', t('x', nil, nil), t('x', t('x', nil, nil), nil)) t('x', t('x', nil, nil), t('x', nil, t('x', nil, nil)))