P-99: 1.10 Run-length encoding of a list
P-99: Ninety-Nine Prolog Problemsの問題にMercuryで解答していきます.
[{4, "a"}, {1, "b"}, {2, "c"}, {1, "d"}, {4, "e"}]
P-99: Ninety-Nine Prolog Problemsの問題にMercuryで解答していきます.
[{4, "a"}, {1, "b"}, {2, "c"}, {1, "d"}, {4, "e"}]