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 | SIUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU (smlg120) |
Race Number | 12 |
Date | Sat, 21 Sep 2024 01:37:04 +0000 |
Universe | code |
Speed | 41 WPM Try to beat? |
Accuracy | 95.2% |
Rank | 1st place (out of 1) |
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
(software)
by C++ Committee
(see stats)
|