lambda-explorer icon indicating copy to clipboard operation
lambda-explorer copied to clipboard

Let user reattempt solving an arbitrary step in the tutorial

Open anton-trunov opened this issue 8 years ago • 3 comments

I cannot figure out a way of redefining a solution to a chosen step of the tutorial if I have already found a solution and the step is marked [solved]. E.g. I find a solution from the first principles and and then I want to check another more elegant one.

anton-trunov avatar Jun 07 '17 18:06 anton-trunov

Hmm, would just enabling the win condition for the problem you're currently looking at be a sufficient enough user interface? Or do you want a more explicit "retry" option?

evinism avatar Jun 09 '17 05:06 evinism

"Retry" sounds good! Or if I redefine the variable (like the variable E of problem 28) I'd like to have my solution re-checked. E.g. right now it seems that redefining E to be something deliberately wrong (like E := λx.x) does nothing: the problem is still [solved].

anton-trunov avatar Jun 09 '17 09:06 anton-trunov

interim version implemented here, this just checks win condition for your current problem https://github.com/evinism/lambda-explorer/pull/57

evinism avatar Oct 19 '17 16:10 evinism