Resource Aware ML, Version 1.4.2, July 2018 Typechecking module ... Typecheck successful. Stack-based typecheck successful. Analyzing function foldr ... Trying degree: 1 == foldr : [['a; 'b] -> 'b; 'b; 'a list] -> 'b 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 fleft ... Trying degree: 1, 2, 3 A bound for fleft could not be derived. The linear program is infeasible. -- Mode: upper Metric: steps Degree: 3 Run time: 0.05 seconds #Constraints: 145 ==== Analyzing function rev ... Trying degree: 1, 2, 3 A bound for rev could not be derived. The linear program is infeasible. -- Mode: upper Metric: steps Degree: 3 Run time: 0.07 seconds #Constraints: 219 ====