WORST_CASE(?,O(n^1)) Solution: --------- "Cons" :: ["A"(0) x "A"(0)] -(0)-> "A"(15) "Cons" :: ["A"(0) x "A"(0)] -(0)-> "A"(12) "Leaf" :: ["A"(15)] -(15)-> "A"(15) "Nil" :: [] -(0)-> "A"(15) "Node" :: ["A"(15) x "A"(15)] -(15)-> "A"(15) "comp_f_g" :: ["A"(5) x "A"(5)] -(5)-> "A"(5) "comp_f_g#1" :: ["A"(5) x "A"(5) x "A"(12)] -(1)-> "A"(12) "cons_x" :: ["A"(0)] -(0)-> "A"(5) "cons_x" :: ["A"(0)] -(0)-> "A"(7) "main" :: ["A"(15)] -(9)-> "A"(5) "walk#1" :: ["A"(15)] -(0)-> "A"(5) Cost Free Signatures: --------------------- "Cons" :: ["A"_cf(0) x "A"_cf(0)] -(0)-> "A"_cf(0) "Leaf" :: ["A"_cf(0)] -(0)-> "A"_cf(0) "Node" :: ["A"_cf(0) x "A"_cf(0)] -(0)-> "A"_cf(0) "comp_f_g" :: ["A"_cf(0) x "A"_cf(0)] -(0)-> "A"_cf(0) "comp_f_g#1" :: ["A"_cf(0) x "A"_cf(0) x "A"_cf(0)] -(0)-> "A"_cf(0) "cons_x" :: ["A"_cf(0)] -(0)-> "A"_cf(0) "walk#1" :: ["A"_cf(0)] -(0)-> "A"_cf(0) Base Constructors: ------------------ "\"Cons\"_A" :: ["A"(0) x "A"(0)] -(0)-> "A"(1) "\"Leaf\"_A" :: ["A"(1)] -(1)-> "A"(1) "\"Nil\"_A" :: [] -(0)-> "A"(1) "\"Node\"_A" :: ["A"(1) x "A"(1)] -(1)-> "A"(1) "\"comp_f_g\"_A" :: ["A"(0) x "A"(0)] -(1)-> "A"(1) "\"cons_x\"_A" :: ["A"(0)] -(0)-> "A"(1)