Open conal opened 10 years ago
The following optimization in LambdaCCC.CCC occasionally leads to non-terminating construction:
LambdaCCC.CCC
Apply . (decompL -> g :. f) = (Apply :. g) . f
A triggering example in test/TreeTest.hs:
test/TreeTest.hs
main = go "dot1" (dot :: Tree N1 (Int,Int) -> Int)
The following optimization in
LambdaCCC.CCC
occasionally leads to non-terminating construction:A triggering example in
test/TreeTest.hs
: