Help for operators?

Is there a h function but for operators ? e.g. there’s h length, but is there something like h and ?

1 Like
iex(1)> h Kernel.and
6 Likes

Also, h and/2 does work too…

3 Likes

Doesn’t work for me on 1.4.5. Is this something that was added after that? (h Kernel.and works of course)

iex(6)> h and/2
** (SyntaxError) iex:6: syntax error before: '/'

Works for me in 1.6, so yeah I bet it was added after 1.4.5 sometime.

1 Like

Works for 1.5.2 as well.

Thanks for the info! It’s a nice little improvement.

1 Like