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
ACSets.jl allows us to go from TypeLevelSchema to BasicSchema, and I thought at some point I needed to go the other way around and wrote this one-liner:
""" Convert a Schema to a Type-level schema """TypeLevelBasicSchema(s::BasicSchema{Name}) where {Name} =
TypeLevelBasicSchema{Name, Tuple{s.obs...}, Tuple{s.homs...},
Tuple{s.attrtypes...}, Tuple{s.attrs...}, Tuple{s.eqs...}}
TypeLevelBasicSchema(s::Type{<:TypeLevelBasicSchema}) = s
But then I happened to not need to. Still, this might be a feature that someone wants?
The text was updated successfully, but these errors were encountered:
I'm nowhere near to getting anything merged on the SQL front, SQL breaks the relational model in so many ways that it will still take some time to figure out under what cases it makes sense to do the interop.
ACSets.jl allows us to go from
TypeLevelSchema
toBasicSchema
, and I thought at some point I needed to go the other way around and wrote this one-liner:But then I happened to not need to. Still, this might be a feature that someone wants?
The text was updated successfully, but these errors were encountered: