Closed nponeccop closed 9 years ago
HN source:
foo y = { ap foo bar = sum y (foo bar) t4 x = sum x y t3 x = ap t4 x t3 5 }
Actual output:
foo y = { t4 x = sum x y sum y t4 }
t4 lacks an argument. The code below is correct partial inlining:
t4
foo y = { t4 x = sum x y sum y (t4 5) }
Expected output:
foo y = sum y (sum 5 y)
Works as expected now
HN source:
Actual output:
t4
lacks an argument. The code below is correct partial inlining:Expected output: