-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Design needed for relToQD
and RelationConcept
implementation
#628
Comments
I think this issue is going to be important to fix to deal with both #695 and #891 properly. Roughly speaking, neither instance models nor theory models should use |
This is now half fixed: instance models use a more refined definition that differentiate between equational models, DE models and 'other' models. That type needs to pulled out of there so that theory models can use this too. Note that |
Just an update: this is partly done, but than it was when I last looked too, but still is not finished. |
Hmm, the fixes were on a branch that was never pulled in. |
Hurray! |
Just an update,
Remaining usage of
|
I don't think there's anything left to do in this ticket because we've removed Shall we close this ticket in favour of #2371 @JacquesCarette ? |
Agreed. |
In issue #549, the errors for certain types that are instance of
HasShortName
have been removed. However, as of fdf90d9,RelationConcept
now has an error thrown in relation toHasShortName
.This was done because
Drasil/code/Example/Drasil/GlassBR/Body.hs
Lines 146 to 148 in fdf90d9
imodels
andtmodels
are lists ofRelationConcept
s and trying to extract shortnames from there led to deduction errors.It was originally thought that either
RelationConcept
should have a shortname ORimodels
andtmodels
should not be[RelationConcept]
/ should be named differently.@JacquesCarette mentioned that
RelationConcept
is too 'raw' to be the only material for creating models and that perhaps it should not be augmented "as it has other flaws, so I'm not so keen on relying on it even more".relToQD
is a horrible hack too."I get the feeling that this is another piece that needs just a bit more design - we need to understand what these various data-structures are used for, i.e. what actual knowledge is being encoded here. To understand if the encoding is adequate. I get the feeling it's not, so that anything local patch we apply now would be a mere band-aid that would need to be fixed again soon."
I'm unsure who to assign this issue to, so I'm assigning @JacquesCarette and myself for now...
The text was updated successfully, but these errors were encountered: