I'm new to Erlang, just tried the shell:
Eshell V8.2 (abort with ^G)
1> Hello=hello.
hello
2> Hello.
hello
3> Point={point,10,45}.
{point,10,45}
4> Point2={"point",10,45}.
{"point",10,45}
In Point
, the first element is 'point'
, there's no variable named point so it's not a reference, there's no double ""
, so it's not a string. But shell doesn't report any error.
So what is it?