Add compiler improvement
This commit is contained in:
9
Project-02-03-04-05/triplaprograms/getOptimized.tripla
Normal file
9
Project-02-03-04-05/triplaprograms/getOptimized.tripla
Normal file
@@ -0,0 +1,9 @@
|
||||
let f(x, y)
|
||||
{
|
||||
let g(x)
|
||||
{
|
||||
y = x + 7
|
||||
}
|
||||
in x = g(5); y
|
||||
}
|
||||
in f(1, 2)
|
||||
@@ -1,3 +1,3 @@
|
||||
let g(a) {
|
||||
a*a
|
||||
} in g(5)
|
||||
} in b = g(5)
|
||||
Reference in New Issue
Block a user