Resource Aware ML, Version 1.4.2, July 2018 Typechecking module ... Typecheck successful. Stack-based typecheck successful. Analyzing function iter ... Trying degree: 1 == iter : ['a -> 'a; 'a; nat] -> 'a Non-zero annotations of the argument: 9.00 <-- (*, *, [S(*)]) 3.00 <-- (*, *, []) Non-zero annotations of result: Simplified bound: 3.00 + 9.00*M where M is the number of S-nodes of the 3rd component of the argument -- Mode: lower Metric: steps Degree: 1 Run time: 0.01 seconds #Constraints: 35 ==== Analyzing function compS ... Trying degree: 1 == compS : [nat -> 'a; nat] -> 'a Non-zero annotations of the argument: 5.00 <-- (*, []) Non-zero annotations of result: Simplified bound: 5.00 -- Mode: lower Metric: steps Degree: 1 Run time: 0.01 seconds #Constraints: 14 ==== Analyzing function id ... Trying degree: 1 == id : 'a -> 'a Non-zero annotations of the argument: 1.00 <-- * Non-zero annotations of result: Simplified bound: 1.00 -- Mode: lower Metric: steps Degree: 1 Run time: 0.00 seconds #Constraints: 5 ==== Analyzing function iterid ... Trying degree: 1 == iterid : nat -> nat Non-zero annotations of the argument: 10.00 <-- [S(*)] 11.00 <-- [] Non-zero annotations of result: Simplified bound: 11.00 + 10.00*M where M is the number of S-nodes of the argument -- Mode: lower Metric: steps Degree: 1 Run time: 0.01 seconds #Constraints: 97 ====