Race Updates Discord About Merch
Home Profile History Competitions Texts Upgrade

typeracer

Pit Stop
Racer Naveen Kumar (naveen_1729)
Race Number 1
Date Sun, 22 Sep 2024 5:04:12
Universe code
Speed 30 WPM Try to beat?
Accuracy 90.2%
Rank 3rd 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 (software) by C++ Committee (see stats)

Typing Review: