-
Notifications
You must be signed in to change notification settings - Fork 1
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
Initial structure for HerbSpecification #1
Conversation
src/problem.jl
Outdated
struct IOSpecification <: AbstractIOSpecification | ||
|
||
""" | ||
struct IOSpecification <: AbstractIOSpecification |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did we say that we drop this or not?
And delegate it to the Problem struct (to have an array of IOExample)?
src/problem.jl
Outdated
|
||
""" | ||
struct IOMetricSpecification <: AbstractIOSpecification | ||
examples::AbstractVector{IOExample} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this one is AbstractVector
but IOSpecification
uses Vector
. We should be consistent
src/problem.jl
Outdated
struct TraceSpecification | ||
|
||
""" | ||
struct TraceSpecification <: AbstractSpecification |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also delegate to Problem
?
Otherwise, we have too many layers of structure to construct which add little information: IOExample -> IOSpecification -> Problem. If we can kick out the middle layer, that would be great
src/problem.jl
Outdated
struct AgdaSpecification <: AbstractFormalSpecification | ||
|
||
""" | ||
struct AgdaSpecification <: AbstractFormalSpecification |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agda should be a specialisation of DependentType
?
Please check again. |
No description provided.