Erlang shell输出信息中的$意味着什么
输入以下Erlang shell命令时:Erlang shell输出信息中的$意味着什么,shell,dictionary,process,erlang,output,Shell,Dictionary,Process,Erlang,Output,输入以下Erlang shell命令时: proc_lib:spawn(fun() -> io:format("~p~n",[process_info(self())]) end). Erlang将在图片中显示以下信息 [{current_function,{erl_eval,do_apply,6}}, {initial_call,{proc_lib,init_p,3}}, {status,running}, {message_queue_len,0}, {messages,[]
proc_lib:spawn(fun() -> io:format("~p~n",[process_info(self())]) end).
Erlang将在图片中显示以下信息
[{current_function,{erl_eval,do_apply,6}},
{initial_call,{proc_lib,init_p,3}},
{status,running},
{message_queue_len,0},
{messages,[]},
{links,[]},
{dictionary,[{'$ancestors',[<0.32.0>]},
{'$initial_call',{erl_eval,'-expr/5-fun-3-',0}}]},
{trap_exit,false},
{error_handler,error_handler},
{priority,normal},
{group_leader,<0.25.0>},
{total_heap_size,233},
{heap_size,233},
{stack_size,27},
{reductions,72},
{garbage_collection,[{min_bin_vheap_size,46422},
{min_heap_size,233},
{fullsweep_after,65535},
{minor_gcs,0}]},
{suspending,[]}]
<0.34.0>
[{current_函数,{erl_eval,do_apply,6}},
{initial_call,{proc_lib,init_p,3}},
{状态,正在运行},
{消息队列,0},
{消息,[]},
{links,[]},
{字典,[{'$祖先',[]},
{'$initial_call',{erl_eval'-expr/5-fun-3-',0}}},
{trap_exit,false},
{error\u handler,error\u handler},
{优先级,正常},
{小组组长,},
{总堆大小,233},
{heap_size,233},
{堆栈大小,27},
{减少,72},
{垃圾收集,[{min_bin_vheap_size,46422},
{min_heap_size,233},
{fullsweep_after,65535},
{minor_gcs,0}]},
{挂起,[]}]
“$”、6和5-fun-3-(如果你不知道我指的是什么,我上传了一张图片来说明)在Erlang shell输出信息中是什么意思?
谢谢。在Erlang中,任何包含在单引号中的内容,例如,
“$祖先”
都是一个原子 我知道atom,我认为$应该有一些特殊的意义。