Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Refactoring kata #10

Draft
wants to merge 67 commits into
base: main
Choose a base branch
from
Draft

Refactoring kata #10

wants to merge 67 commits into from

Conversation

jamesdabbs
Copy link
Member

@jamesdabbs jamesdabbs commented Nov 30, 2020

This content is merged in, but it was a nice refactor that might be suitable for a class.

This class will end up holding on to our derivation list
that the Prover can start to collaborate with. We'll start moving _some_ of the existing prover state over to this object over the next several commits.
We want to replace this line with a call to the new derivations object. This is the API we'll need it to implement.
currently a no-op, just to ensure that we can get the intended signature to typecheck.
Still no-ops, but ensures the call site typechecks.
as we'll need to start holding state in this class
We want to remove the intermediate `derivations` array, so will need to return it from our new class.
We want to move towards the Derivations class managing this evidence, so will need to ensure it has a copy.
This is the same call we replaced with our extracted method earlier
All reads now factor through `this.derivations` instead.
@jamesdabbs jamesdabbs self-assigned this Nov 30, 2020
Base automatically changed from svelte-support to master November 30, 2020 15:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant