Resource Aware ML, Version 1.4.2, July 2018 Typechecking module ... Typecheck successful. Stack-based typecheck successful. Analyzing function append ... Trying degree: 1 == append : ['a list; 'a list] -> 'a list Non-zero annotations of the argument: 9.00 <-- ([::(*)], []) 3.00 <-- ([], []) Non-zero annotations of result: Simplified bound: 3.00 + 9.00*M where M is the number of ::-nodes of the 1st component of the argument -- Mode: lower Metric: steps Degree: 1 Run time: 0.01 seconds #Constraints: 41 ==== Analyzing function partition ... Trying degree: 1 == partition : ['a -> bool; 'a list] -> 'a list * 'a list Non-zero annotations of the argument: 21.00 <-- (*, [::(*)]) 5.00 <-- (*, []) Non-zero annotations of result: Simplified bound: 5.00 + 21.00*M where M is the number of ::-nodes of the 2nd component of the argument -- Mode: lower Metric: steps Degree: 1 Run time: 0.01 seconds #Constraints: 71 ==== Analyzing function quicksort ... Trying degree: 1 == quicksort : ['a -> 'a -> bool; 'a list] -> 'a list Non-zero annotations of the argument: 35.00 <-- (*, [::(*)]) 3.00 <-- (*, []) Non-zero annotations of result: Simplified bound: 3.00 + 35.00*M where M is the number of ::-nodes of the 2nd component of the argument -- Mode: lower Metric: steps Degree: 1 Run time: 0.03 seconds #Constraints: 161 ==== Analyzing function compare_list ... Trying degree: 1 == compare_list : [int list; int list] -> bool Non-zero annotations of the argument: 3.00 <-- ([], []) Non-zero annotations of result: Simplified bound: 3.00 -- Mode: lower Metric: steps Degree: 1 Run time: 0.02 seconds #Constraints: 75 ==== Analyzing function quicksort_list ... Trying degree: 1 == quicksort_list : int list list -> int list list Non-zero annotations of the argument: 40.00 <-- [::([])] 3.00 <-- [] Non-zero annotations of result: Simplified bound: 3.00 + 40.00*M where M is the number of ::-nodes of the argument -- Mode: lower Metric: steps Degree: 1 Run time: 0.03 seconds #Constraints: 271 ====