Is there an Elixir equivalent for Clojure (source fn-name)?

Clojure has this convenient way to view function definitions in REPL. Does Elixir have REPL?

+5
source share
2 answers

No, there is no convenient way yet.

+2
source

Well, I'm going to post this as an answer, although this is not the same as the "source". In IEX, you can enter h function_name to see the documentation for function_name . This is basically a function of the Clojure REPL doc . So far in Elixir this is good enough for most cases when I want source .

0
source

All Articles