VarName enhancements #7
Replies: 3 comments 16 replies
-
I am pretty convinced that
|
Beta Was this translation helpful? Give feedback.
-
We often have to deal with AbstractPPL.getsym(::AbstractArray{<:VarName{sym}}) where {sym} = sym |
Beta Was this translation helpful? Give feedback.
-
Reviving this discussion a big... we're about to implement this: #26 (review), and it all turns out rather nice (free hugs to @torfjelde, please). Some technical aspects/questions remaining:
|
Beta Was this translation helpful? Give feedback.
-
VarName
is working pretty well in its current form, but the logic for subsumption could be defined abit more explicitely. Some helper methods are certainly needed in order to properly support
subsumption in the dictionary interface, and would become useful elsewhere.
In the long term: what about more complex things, like
getproperty
-based variables?Also, there is the idea of having a separate
VariableSpace
structure: TuringLang/DynamicPPL.jl#10. This could go here as well.Beta Was this translation helpful? Give feedback.
All reactions