dear all, why does the following expression give me an 'illegal guard expression' at compile? if lists:nth(2, List) =:= "test" -> [...] lists:nth returns a term, thus i should be enabled to use it. on the contrary, the following expression is accepted: if length(List) =:= 3 -> [...] am i missing a point? r.