4 ms·Make it even more ridiculous and wrap every branch in a lambda function, then do test[true]()by reikonomusha 14y agoMake it even more ridiculous and wrap every branch in a lambda function, then do test[true]()mahcuz 14y agoThat would only evaluate the original [true] key, though, right?tgasson 14y agoNo, `test[true]` will be reassigned to the given function each time the condition evaluates to true. Calling `test[true]()` will execute that given function.deleted 14y ago[deleted]