mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 18:03:36 +00:00
library/string.m:
As above.
tests/hard_coded/Mmakefile:
tests/hard_coded/string_fold_ilseq.exp:
tests/hard_coded/string_fold_ilseq.exp2:
tests/hard_coded/string_fold_ilseq.m:
Add test case.
6 lines
79 B
Plaintext
6 lines
79 B
Plaintext
string.foldl:
|
|
a b c 😀 0xd83d x y z
|
|
|
|
string.foldr:
|
|
z y x 0xd83d 😀 c b a
|