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
We should be able to upgrade @present, or maybe write a new @present_schema to let you write something like
Par =@present_schemabegin
X,Y::Ob
f,g::X-> Y
XY =@product X Y
E =@join x::X; y::Y; ff:(x->y)::f; gg:(x->y)::gend
which will actually generate two schemas, Par and, say, Par_full, where Par only has X,Y,f,g while Par_full also has XY and E together with the components of their limit cones, as well constructing a DataMigration from Par to Par_full that's the identity on Par and literally sends XY to @product X Y and so on. Then when the user instantiates Par, Catlab does the instantiation and the migration to Par_full, and voila, you've got sketch-schemas!
The text was updated successfully, but these errors were encountered:
We should be able to upgrade
@present
, or maybe write a new@present_schema
to let you write something likewhich will actually generate two schemas,
Par
and, say,Par_full
, wherePar
only hasX,Y,f,g
whilePar_full
also hasXY
andE
together with the components of their limit cones, as well constructing aDataMigration
fromPar
toPar_full
that's the identity onPar
and literally sendsXY
to@product X Y
and so on. Then when the user instantiatesPar
, Catlab does the instantiation and the migration toPar_full
, and voila, you've got sketch-schemas!The text was updated successfully, but these errors were encountered: