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
{{ message }}
This repository has been archived by the owner on Aug 10, 2019. It is now read-only.
The gist of the problem is that our KVS has an abstract superclass, Lattice<T>. There are many subclasses of Lattice, such as BoolLattice, SetLattice<S>, etc. (which are Lattice<bool>, Lattice<std::unordered_set<S>>, and so on). To write a KVS get method that returns a Lattice*, it seems like you can't have a return type without the type template uninstantiated, which functionally means that you need to have a separate type signature for get for every lattice type, which is potentially large because we want to take advantage of lattice composition.
The only solution I can come up with for this is removing the type template and simply relying on class hierarchies for type checking, but we lose typechecking of compositions.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This has proven difficult/impossible. As a result, adding Anna lattice types requires recompilation, and potentially code changes.
The text was updated successfully, but these errors were encountered: