[erlang-questions] First Erlang experiences- not so good

Toby Thain <>
Thu Sep 25 07:26:25 CEST 2008

On 25-Sep-08, at 12:34 AM, Tony Cappellini wrote:

> I've been going through this intro to Erlang
> http://www.onlamp.com/pub/a/onlamp/2007/09/13/introduction-to- 
> erlang.html?page=last#thread
> using the Windows version of the
> Erlang (BEAM) emulator version 5.6.4 [smp:2] [async-threads:0]
> shell.
> For some reason, the example.erl file on the above site, will not  
> compile.

It does.

The file you attached, however, seems to be in UTF-16?

$ hexdump example.erl
0000000 fffe 2d00 6d00 6f00 6400 7500 6c00 6500

Some Windows tool is letting you down.

Copy and paste from the site into a simple ASCII text file and this  
will all work fine.


More information about the erlang-questions mailing list