koka-lang / libmprompt

Robust multi-prompt delimited control and effect handlers in C/C++
MIT License
106 stars 11 forks source link

Fix typo? #2

Closed MarisaKirisame closed 3 years ago

MarisaKirisame commented 3 years ago

maybe it is trying to show that prompt (\x. 1 + yield x (\k. k (k 41))) = 43? anyway the beta reduction there is definitely wrong.

daanx commented 3 years ago

Thanks @MarisaKirisame ! This library won't inspire confidence if I can't even add 1 :-)