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

Опечатка или я чего-то не понимаю (Монады) #94

Open
cyberash-dev opened this issue May 4, 2019 · 1 comment

Comments

@cyberash-dev
Copy link

http://anton-k.github.io/ru-haskell-book/book/15.html#%D0%BC%D0%BE%D0%BD%D0%B0%D0%B4%D1%8B

В книге η:I→T и μ:TT→T, но разве не должно быть η:I→TT и μ:TT→T?

@anton-k
Copy link
Owner

anton-k commented May 4, 2019

Тут правильно, первое преобразование заворачивает обычное значение в T, а второе позволяет "упростить" контекст сделать из дважды T ординарное

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

2 participants