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