Resource Aware ML, Version 1.4.2, July 2018 Typechecking module ... Typecheck successful. Stack-based typecheck successful. Analyzing function foldl ... Trying degree: 1 == foldl : [['a; 'b] -> 'a; 'a; 'b list] -> 'a Non-zero annotations of the argument: 10.00 <-- (*, *, [Cons(*)]) 3.00 <-- (*, *, []) Non-zero annotations of result: Simplified bound: 3.00 + 10.00*M where M is the number of Cons-nodes of the 3rd component of the argument -- Mode: upper Metric: steps Degree: 1 Run time: 0.01 seconds #Constraints: 29 ==== Analyzing function prefix ... Trying degree: 1 == prefix : ['a list; 'a] -> 'a list Non-zero annotations of the argument: 4.00 <-- ([], *) Non-zero annotations of result: Simplified bound: 4.00 -- Mode: upper Metric: steps Degree: 1 Run time: 0.01 seconds #Constraints: 7 ==== Analyzing function rev ... Trying degree: 1 == rev : 'a list -> 'a list Non-zero annotations of the argument: 14.00 <-- [Cons(*)] 8.00 <-- [] Non-zero annotations of result: Simplified bound: 8.00 + 14.00*M where M is the number of Cons-nodes of the argument -- Mode: upper Metric: steps Degree: 1 Run time: 0.01 seconds #Constraints: 47 ====