Resource Aware ML, Version 1.4.2, July 2018 Typechecking module ... Typecheck successful. Stack-based typecheck successful. Analyzing function split ... Trying degree: 1 == split : 'a list -> 'a list * 'a list Non-zero annotations of the argument: 5.00 <-- [::(*)] 5.00 <-- [] Non-zero annotations of result: Simplified bound: 5.00 + 5.00*M where M is the number of ::-nodes of the argument -- Mode: lower Metric: steps Degree: 1 Run time: 0.01 seconds #Constraints: 70 ==== Analyzing function merge ... Trying degree: 1 == merge : [['a; 'a] -> bool; 'a list; 'a list] -> 'a list 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: 97 ==== Analyzing function mergesort ... Trying degree: 1 == mergesort : [['a; 'a] -> bool; Rnat.t; 'a list] -> 'a list Non-zero annotations of the argument: 3.00 <-- (*, 0, []) Non-zero annotations of result: Simplified bound: 3.00 -- Mode: lower Metric: steps Degree: 1 Run time: 0.04 seconds #Constraints: 260 ==== 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 mergesort_list ... Trying degree: 1 == mergesort_list : [Rnat.t; int list list] -> int list list Non-zero annotations of the argument: 3.00 <-- (0, []) Non-zero annotations of result: Simplified bound: 3.00 -- Mode: lower Metric: steps Degree: 1 Run time: 0.06 seconds #Constraints: 386 ====