Reputation: 2580
The Elixir "Getting Started" tutorial tells me:
For example, typing h is_integer/1 is going to print the documentation for the is_integer/1 function. It also works with operators and other constructs (try h ==/2).
However, if I do try h ==/2
, all I get is:
** (SyntaxError) iex:38: syntax error before: '/'
Is there a newer better way of accessing help on operators?
Upvotes: 1
Views: 82
Reputation: 51419
This is supposed to work on latest Elixir versions (at least from v0.13.0 I believe). You can also use h Kernel.==/2
on earlier ones.
Upvotes: 2