Race Updates Discord About Merch
Home Profile History Competitions Texts Upgrade

typeracer

Pit Stop
Racer Goku (rmehedi)
Race Number 22
Date Sat, 1 Feb 2025 18:00:51
Universe code
Speed 26 WPM Try to beat?
Accuracy 92.0%
Rank 2nd place (out of 2)

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: