A LISP running on the BEAM, how extraordinary! This must certainly represent the tip of human evolution.
I have been following lfe at a distance almost from the start, but I have never actually done anything with it. Time to change that!
My starting point was to install lfe on one of my Raspberry Pi’s. I started out installing Arch. I then installed Erlang/OTP 18 using pacman. After this I could simply compile lfe from source. This gives me the following REPL:
mjl@galadriel:~ $ lfe
Erlang/OTP 18 [erts-7.0] [source] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
LFE Shell V7.0 (abort with ^G)
>
I have only just begun playing with lfe, and I intend to continue to add my findings and impressions to this page as I go, so please come back and visit!
> (lists:foldl (lambda (n acc) (+ n acc)) 0 '(1 2 3 4 5 6))
21