Repository navigation
VarName enhancements #7
Replies: 3 comments 16 replies
|
I am pretty convinced that
|
|
We often have to deal with AbstractPPL.getsym(::AbstractArray{<:VarName{sym}}) where {sym} = sym |
|
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:
|
Uh oh!
There was an error while loading. Please reload this page.
VarNameis 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
VariableSpacestructure: TuringLang/DynamicPPL.jl#10. This could go here as well.All reactions