remove expand
This commit is contained in:
parent
147a26d045
commit
87e928638a
@ -24,12 +24,3 @@ function imap(cb, ctx, ::typeof(map), f, xs...)
|
||||
end
|
||||
|
||||
imap(f, args...) = f(args...)
|
||||
|
||||
function interp(ctx, model, xs...)
|
||||
g = graph(model)
|
||||
g == nothing && return vertex(model, map(constant, interpv(ctx, xs))...)
|
||||
interpret(ctx, g, xs...)
|
||||
end
|
||||
|
||||
expand(graph, xs...) =
|
||||
interp(Context(mux(ilambda, imap, iconst, ituple, interp)), graph, xs...)
|
||||
|
Loading…
Reference in New Issue
Block a user