Skip to content
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

Merged
merged 5 commits into from
Jan 22, 2024
Merged

Initial structure for HerbSpecification #1

merged 5 commits into from
Jan 22, 2024

Conversation

THinnerichs
Copy link
Member

No description provided.

src/problem.jl Outdated
struct IOSpecification <: AbstractIOSpecification

"""
struct IOSpecification <: AbstractIOSpecification
Copy link
Member

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}
Copy link
Member

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
Copy link
Member

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
Copy link
Member

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?

@THinnerichs
Copy link
Member Author

Please check again.

@THinnerichs THinnerichs self-assigned this Jan 19, 2024
@THinnerichs THinnerichs merged commit 1ff3eff into master Jan 22, 2024
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants