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

FReqsSub Should take [ConceptInstance]? #1403

Closed
6 tasks done
samm82 opened this issue May 24, 2019 · 5 comments · Fixed by #1461
Closed
6 tasks done

FReqsSub Should take [ConceptInstance]? #1403

samm82 opened this issue May 24, 2019 · 5 comments · Fixed by #1461
Assignees

Comments

@samm82
Copy link
Collaborator

samm82 commented May 24, 2019

Related to #1023, as well as #1229 and its bunny trail of related issues. (Not sure if there is already an issue specifically for this, but I couldn't find one.)

I was about to implement the Requirements for Projectile, but realized that it would probably make more sense to revise this code before adding another example that will break it.

data ReqsSub where
FReqsSub :: [Contents] -> ReqsSub --FIXME: Should be ReqChunks?
NonFReqsSub :: [ConceptInstance] -> ReqsSub

Since NonFReqsSub was refactored to take a [ConceptInstance], it makes sense that FReqsSub should be as well.

I don't want to step on anyone's toes, so @bmaclach, @Mornix, @JacquesCarette, @smiths, and/or anyone else feel free to let me know if this issue should be reassigned, pushed to later, or tackled now.

TODO

  • GamePhysics
  • GlassBR
  • NoPCM
  • SSP
  • SWHS
  • Replace FReqsSub with FReqsSub'

Closed with merge of #1461

@samm82 samm82 self-assigned this May 24, 2019
@smiths
Copy link
Collaborator

smiths commented May 24, 2019

@samm82, your proposal makes sense to me, under the assumption that fixing FReqsSub will not take much time. We don't want to introduce code that we know will eventually need to be changed, but we also don't want to get distracted from advancing on our complete projectile example. 😄

@samm82
Copy link
Collaborator Author

samm82 commented May 24, 2019

I'll put this on the back burner for now 😉

@samm82
Copy link
Collaborator Author

samm82 commented May 24, 2019

@smiths Would it be an acceptable compromise for me to create a new FReqsSub' that takes a ConceptInstance for adding the requirements to Projectile, then I (or someone else) can come back to this issue and finish the job in the other examples?

@smiths
Copy link
Collaborator

smiths commented May 25, 2019

@samm82 that sounds reasonable to me.

@samm82
Copy link
Collaborator Author

samm82 commented May 31, 2019

A note - FReqsSub' should be modified to also take a [LabelledContent] for the tables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants