[erlang-questions] guards

Dave Pawson <>
Sat Jul 25 05:27:30 CEST 2009


Tks James

2009/7/25 James Hague <>:
>> 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.

http://www.erlang.org/doc/reference_manual/expressions.html#6.24

In case anyone else is curious what the list is!



regards


-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk


More information about the erlang-questions mailing list