agentultra / lean-for-hackers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problems in the random number guessing game code

oxarbitrage opened this issue · comments

Hey there, i was checking this guide mainly trying to figure out how the iterate works in the system monad. However, it seems that this specific part of the code is having some problems in recent versions of lean 3:

lean4hackers

I will send a fix if i eventually figure it out, any help is welcome in the meantime :)

Hi did you solve it? Thanks

I guess it is the "1" that should be removed?

Thanks @fzyzcjy , that was pretty easy to fix, i should had tried harder. I pushed a fix #6