Mercury 勉強メモ

関数論理型言語 Mercury を勉強するブログです.

P-99: 1.17 Split a list into two parts; the length of the first part is given.

P-99: Ninety-Nine Prolog Problemsの問題にMercuryで解答していきます.

["a", "b", "c"]
["d", "e", "f", "g", "h", "i", "k"]