[erlang-questions] guards

James Hague <>
Sat Jul 25 05:13:24 CEST 2009

> I believe I can't use 'user defined' references in a guard statement,
> but I'm unsure if  lists: module is such a statement?

lists:nth is not allowed in guards.  It's a pretty short list, the
functions that are allowed.

More information about the erlang-questions mailing list