library/list.m: Add the above predicates to the list module. NEWS: Announce the new predicates. tests/hard_coded/fold_tests.{m,exp}: Test case for the new functionality. tests/hard_coded/Mmakefile: Enable the new test case.