You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why: DBI (Term DBI) should entail DBI (Term Lang)
so need some subtyping crtieria.
But Why Term? Dynamic Eval. If a Term need to be diff and evaled under different context, simply use Comp that return pair of different repr
How? Generic Solver returning constraint list, search through it by only climbing the class hierarchy, using a list to keep track of all alternative.
Cannot solve instance of unknown <: C => unknown <: D, when C is subtype of D, though, but can always be resolved when in the concrete registeration.
Also need registering and is a bit slow, a bit hard to write.
Maybe manually saving instance with overlapping instance/incoherent instance would help.
Other solution: specialize into sub. Do not have such problem but create ton of similar Class. Also need to manually impl subtyping hierarchy registration for each new type.
Could probably use Template Haskell to help ths.
The text was updated successfully, but these errors were encountered:
Why: DBI (Term DBI) should entail DBI (Term Lang)
so need some subtyping crtieria.
But Why Term? Dynamic Eval. If a Term need to be diff and evaled under different context, simply use Comp that return pair of different repr
How? Generic Solver returning constraint list, search through it by only climbing the class hierarchy, using a list to keep track of all alternative.
Cannot solve instance of unknown <: C => unknown <: D, when C is subtype of D, though, but can always be resolved when in the concrete registeration.
Also need registering and is a bit slow, a bit hard to write.
Maybe manually saving instance with overlapping instance/incoherent instance would help.
Other solution: specialize into sub. Do not have such problem but create ton of similar Class. Also need to manually impl subtyping hierarchy registration for each new type.
Could probably use Template Haskell to help ths.
The text was updated successfully, but these errors were encountered: