Skip to content

Commit 75610c1

Browse files
committed
delete dead function
1 parent 0165afd commit 75610c1

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/build_function.jl

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,6 @@ function unflatten_long_ops(op, N=4)
6060
Rewriters.Fixpoint(Rewriters.Postwalk(Rewriters.Chain([rule1, rule2])))(op)
6161
end
6262

63-
function observed_let(eqs)
64-
process -> ex -> begin
65-
isempty(eqs) && return ex
66-
67-
assignments = map(eq -> :($(process(eq.lhs)) = $(process(eq.rhs))), eqs)
68-
letexpr = :(let $(assignments...)
69-
end)
70-
# avoid a superfluous `begin ... end` block
71-
letexpr.args[2] = ex
72-
return letexpr
73-
end
74-
end
7563

7664
# Scalar output
7765

0 commit comments

Comments
 (0)