Record your races with a typeracer account:
Create Your Account- Save your race history and scores.
- Customize your profile and racecar.
- It’s free, why not?
Race Result Details |
Racer | sygi (sygi) |
Race Number | 63 |
Date | Tue, 26 Nov 2024 21:29:03 +0000 |
Universe | code |
Speed |
57 WPM
![]() |
Accuracy | 93.3% |
Rank | 2nd place (out of 3) |
Text typed:
|
auto monad = [](auto v) { return [=] { return v; }; }; auto bind = [](auto m) { return [=](auto fvm) { return fvm(m()); }; }; static_assert(bind(monad(2))(monad)() == monad(2)());
— C++26 Standard Draft N4964 - Lambdas in C++ Constant Expressions
|