Commit Graph

2 Commits

Author SHA1 Message Date
Julien Fischer
018d05ea45 Make list.split_upto and list.take_upto abort for N < 0.
library/list.m:
   Make split_upto/4 and take_upto/{2,3} abort for N < 0.

tests/hard_coded/take_split_upto.{m,exp}:
   Update this test case to test the for new behaviour.

tests/hard_coded/Mmakefile:
   Do not run the take_split_upto test case in deep profiling
   grades since it now requires catching exceptions to be supported.

NEWS:
	Announce the above change.
2016-06-09 11:36:00 +10:00
Julien Fischer
6aa50867ba Add a test case for list.split_upto/4 and list.take_upto/3.
tests/hard_coded/Mmakefile:
tests/hard_coded/take_split_upto.{m,exp}:
    As above.
2016-06-08 16:23:23 +10:00