More than 5 years have passed since last update.
->(x){x*x}[5] #=> 25
Register as a new user and use Qiita more conveniently