[英]What is &+/2 in elixir?
Saw this in elixir guide: 在灵药指南中看到这个:
Enum.reduce([1, 2, 3], 0, &+/2)
What the heck is &+/2 ? 到底是什么&+ / 2? I can't seem to google it for the life of me.
我似乎无法谷歌它为我的生活。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.