meaning of 'none' in the shell
Yao Bao
by@REDACTED
Tue Dec 1 06:14:42 CET 2020
The return value of usrdb:init/0 is none.
In this case, none is an atom, and it is the value of the last expression of the function usrdb:init/0.
Cheers,
Yao
> 在 2020年12月1日,10:42,Peter J Etheridge <petergi@REDACTED> 写道:
>
>
> Dear Fellow Erlangers,
>
> This module used to run. I have broken it somehow.
>
> Now I get;
>
>> mnesia:delete_schema([node()]).
> ok
>> mnesia:create_schema([node()]).
> ok
>> mnesia:start().
> ok
>> c(usrdb).
> {ok,usrdb}
>> usrdb:init().
> none
>
> What does 'none' mean in the shell?
>
> Where should i be looking for my error?
>
> Thank you in advance.
>
> Happy programming to all,
> Peter
More information about the erlang-questions
mailing list