Lisp Flavoured Erlang (AKA LFE) is a lisp syntax front-end to the Erlang compiler. Code produced with it is compatible with "normal" Erlang code. LFE is a (proper) Lisp based on the features and limitations of the Erlang VM.
LFE has many origins, depending upon whether you're looking at Lisp, Erlang, or LFE-proper. The LFE community of contributors embraces all of these and more.
LFE is a Lisp-2. In Lisp-2, the rules for evaluation in the functional position of a form are distinct from those for evaluation in the argument positions of the form. In addition, LFE not only has separate value and function space but it also allows multiple function definitions for the same name. Like Erlang does.Join the LFE track
(defmodule leap (export (leap-year 1))) (defun leap-year ([year] (when (=:= (rem year 400) 0)) 'true) ([year] (when (=:= (rem year 100) 0)) 'false) ([year] (when (=:= (rem year 4) 0)) 'true) ([_] 'false))
What I like about it is that I am able to solve the challenges in a TDD way working in a environment that I am familiar (my own PC not a browser IDE) and the cherry on the top of the cake is that I have access to code reviews.
These are a few of the 30 exercises on the LFE track. You can see all the exercises here.