guard BIF function/1

Craig Dickson crd@REDACTED
Tue Mar 30 23:17:08 CEST 1999


Claes Wikstrom wrote:

>Craig Dickson writes:
>>
>>Incidentally, why is there no recognizer guard for funs? If you don't mind
>>having your code assume that a fun is a certain type of record, you can
use
>>record/2, but I don't recall the standard saying that funs had to be
>>implemented as records, so I'm not comfortable with that.
>
> There is, the guard test function(F) exists [...]

Okay, thanks. This guard BIF does not seem to be mentioned in the Erlang 0.7
draft specification.

Craig





More information about the erlang-questions mailing list