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: lower Metric: steps Degree: 1 Run time: 0.01 seconds #Constraints: 36 ==== Analyzing function fleft ... Trying degree: 1 == fleft : [['a; 'b] -> 'a; 'a; 'b list] -> 'a Non-zero annotations of the argument: 11.00 <-- (*, *, [Cons(*)]) 13.00 <-- (*, *, []) Non-zero annotations of result: Simplified bound: 13.00 + 11.00*M where M is the number of Cons-nodes of the 3rd component of the argument -- Mode: lower Metric: steps Degree: 1 Run time: 0.01 seconds #Constraints: 101 ==== Analyzing function rev ... Trying degree: 1 == rev : 'a list -> 'a list Non-zero annotations of the argument: 11.00 <-- [Cons(*)] 18.00 <-- [] Non-zero annotations of result: Simplified bound: 18.00 + 11.00*M where M is the number of Cons-nodes of the argument -- Mode: lower Metric: steps Degree: 1 Run time: 0.02 seconds #Constraints: 119 ====