mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-19 19:33:46 +00:00
Estimated hours taken: 2 Branches: main Additions to list.m and require.m. library/require.m: Added func_error/1, a func version of the error/1 pred. library/list.m: Added cc_multi modes to list__fold[lr]/4 preds. Added list__map_corresponding/3 and list__map_corresponding3/4. tests/general/map_corresponding.m: Added test cases for list__map_corresponding/3 and list__map_corresponding3/4. tests/general/map_corresponding.exp: Expected output for above test cases. tests/general/Mmakefile: Include the new test case. NEWS: Recorded new additions.
15 lines
828 B
Plaintext
15 lines
828 B
Plaintext
|
|
list__map_corresponding/3: failed as expected on inputs [] [1]
|
|
list__map_corresponding/3: failed as expected on inputs [1] []
|
|
list__map_corresponding/3: succeeded correctly on inputs [] []
|
|
list__map_corresponding/3: succeeded correctly on inputs [1, 2, 3] [4, 5, 6]
|
|
|
|
list__map_corresponding3/4: failed as expected on inputs [] [] [1]
|
|
list__map_corresponding3/4: failed as expected on inputs [] [1] []
|
|
list__map_corresponding3/4: failed as expected on inputs [] [1] [1]
|
|
list__map_corresponding3/4: failed as expected on inputs [1] [] []
|
|
list__map_corresponding3/4: failed as expected on inputs [1] [] [1]
|
|
list__map_corresponding3/4: failed as expected on inputs [1] [1] []
|
|
list__map_corresponding3/4: succeeded correctly on inputs [] [] []
|
|
list__map_corresponding3/4: succeeded correctly on inputs [1, 2, 3] [4, 5, 6] [7, 8, 9]
|