Reputation: 1
I came across this piece of code in erlang examples and I don't seem to get it.
hello(_E,_I) ->
"Text: Hello\r\n\r\n".
Why is it not written like this?
hello(_E,_I) ->
"Text: Hello\r\n\r\n".
Thanks
Upvotes: 0
Views: 55
Reputation: 39364
No, they are not equivalent. It should be "->".
So why is it like that? The
>
is how one represents ">" when writing HTML, so what you are seeing is a typographical oversight on part of the editor.
I recommend you mention the problem to that website's editorial staff. :)
Upvotes: 6