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

Access to "clean" solution tree #9

Open
d4tocchini opened this issue Feb 28, 2015 · 2 comments
Open

Access to "clean" solution tree #9

d4tocchini opened this issue Feb 28, 2015 · 2 comments

Comments

@d4tocchini
Copy link
Member

  • remove unnamed paths / anonymous promises
  • collapse continuations into nearest parent tree
@cbchouinard
Copy link
Contributor

I second :) This would be super useful. Could it be useful to know from which node in the path the child path comes from:

solutionTree =
path: [ 'root', 'contest_multiply', 'middle', 'contest_division', 'end' ]
children: [
path: ['contest_multiply', ['a','3', 'tripled']]
path: ['contest_division', ['b', '5', 'half']]
]

@bergie
Copy link
Contributor

bergie commented Mar 2, 2015

This is what Choice.toSong() should do, but there seems to be some issue with getting the children right. Needs to be fixed.

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

No branches or pull requests

3 participants