Doubt about funs

Siri Hansen siri.hansen@REDACTED
Wed Feb 21 10:49:42 CET 2001


>  Taken fom the Erlang Extensions doc:
> 
> "We can also refer a function defined in a different module with
> the following syntax:
> 
> F = {Module,FunctionName}  "
> 

The documentation also says that you can use the test function/1 in a
guard to check if a term is a fun. This test fails for the
{Module,FunctionName} expression.

Why?

/siri



More information about the erlang-questions mailing list