Elixir解释器错误

yon*_*tan 2 elixir

我跟着elixir开始说它跑的地方:

iex> i 'hello'
Run Code Online (Sandbox Code Playgroud)

所以我跑了:

iex(1)> i 'hello'
Run Code Online (Sandbox Code Playgroud)

得到了:

 ** (CompileError) iex:2: undefined function i/1
Run Code Online (Sandbox Code Playgroud)

灵药版本:
Erlang/OTP 18 [erts-7.3] [source] [64-bit] [smp:4:4] [async-threads:10] [kernel-poll:false] Interactive Elixir (1.1.0-dev)

Dog*_*ert 14

在Elixir 1.2.0中添加了IEx.Helpers.i/1您链接使用的指南所使用的功能.您需要安装Elixir 1.2.0或更高版本才能使用它.

有关安装指南,请参阅http://elixir-lang.org/install.html#unix-and-unix-like.