Resource Aware ML, Version 1.4.2, July 2018 Typechecking module ... Typecheck successful. Stack-based typecheck successful. Analyzing function leq ... Trying degree: 1 == leq : [nat; nat] -> 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.01 seconds #Constraints: 52 ==== Analyzing function insert ... Trying degree: 1 == insert : [['a; 'a] -> bool; 'a; 'a list] -> 'a list Non-zero annotations of the argument: 6.00 <-- (*, *, []) Non-zero annotations of result: Simplified bound: 6.00 -- Mode: lower Metric: steps Degree: 1 Run time: 0.01 seconds #Constraints: 66 ==== Analyzing function sort ... Trying degree: 1 == sort : [['a; 'a] -> bool; 'a list] -> 'a list Non-zero annotations of the argument: 16.00 <-- (*, [::(*)]) 3.00 <-- (*, []) Non-zero annotations of result: Simplified bound: 3.00 + 16.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.02 seconds #Constraints: 98 ==== Analyzing function main ... Trying degree: 1 == main : nat list -> nat list Non-zero annotations of the argument: 16.00 <-- [::([])] 7.00 <-- [] Non-zero annotations of result: Simplified bound: 7.00 + 16.00*M where M is the number of ::-nodes of the argument -- Mode: lower Metric: steps Degree: 1 Run time: 0.03 seconds #Constraints: 176 ====