我正在尝试在常规列表上运行Enum.map
来舍入所有值:
$ iex
Erlang/OTP 19 [erts-8.2] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Interactive Elixir (1.4.0) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> l = [80.308, 87.857, 90.94, 94.022, 100]
[80.308, 87.857, 90.94, 94.022, 100]
iex(2)> Enum.map l, &Kernel.round/1
'PX[^d'
iex(3)>
我知道为什么我会得到这个结果?