julia> ex =Expr(:call,:Dict{Symbol,Tuple{Function,Function}},(:x => (()->begin x end, x330-> begin x= x330 end)))
ERROR: TypeError: Type{...} expression: expected Type{T}, got Symbol
Dict(:x => (()->begin x end, x11-> begin x= x11 end))
Dict{Symbol,Tuple{##17#19,##18#20}} with 1 entry:
:x => (#17,#18)
Dict{Symbol,Tuple{Function,Function}}(:x => (()->begin x end, x11-> begin x= x11 end))
Dict{Symbol,Tuple{Function,Function}} with 1 entry:
:x => (#25,#26)
ex = :(Dict{Symbol,Tuple{Function,Function}}(:x => (()->begin x end, x11-> begin x= x11 end)))
:(Dict{Symbol,Tuple{Function,Function}}(:x => ((()->begin # REPL[13], line 1:
begin # REPL[13], line 1:
x
end
end),(x11->begin # REPL[13], line 1:
begin # REPL[13], line 1:
x = x11
end
end))))
I am doing basically the same thing. I don’t see what I am missing