[erlang-questions] Some ideas for the shell.

Richard A. O'Keefe ok@REDACTED
Tue Dec 5 04:51:29 CET 2017

On 4/12/17 8:21 PM, bengt e wrote:
> Greetings,
> Is 2) similar enough to file:consult/1, to maybe warrant it to be called
> 'consult' instead?

file:consult/1 reads a file and (all going well) *returns a list of the
terms* but does not process them.  This isn't all _that_ much like what
(shell):include/1 is supposed to do.  import(...) was designed to mimic
the -import directive and include(...) was designed to mimic the
-include directive.

I was actually thinking of it as analogous to the
'source <filename>' command in dbx, but using a name
already familiar to Erlang programmers.

More information about the erlang-questions mailing list