[erlang-questions] Dict size in guards

OvermindDL1 overminddl1@REDACTED
Thu Feb 10 22:28:50 CET 2011


On Thu, Feb 10, 2011 at 10:33 AM, Robert Virding
<robert.virding@REDACTED> wrote:
> ----- "Alessandro Sivieri" <alessandro.sivieri@REDACTED> wrote:
>>
>> On Thu, Feb 10, 2011 at 6:27 PM, Robert Virding < robert.virding@REDACTED > wrote:
>>
>
> There is a general restriction on guard tests that no calls to user defined functions are allowed. This irrespective of how simple these functions may be, as there is no way of guaranteeing this at run-time.
>>
>>
>> I know, but this does not change my question, at least about that specific function (which is not user defined, is in stdlib...).
>
> In this case "user-defined" means written in Erlang. And irrespective of who wrote the module and whether it is in the release there are still no guarantees that at run-time this is the code which is run.


Would not the Abstract Patterns and other enhancements put through be
Richard A. O'Keefe help this issue a great deal?


More information about the erlang-questions mailing list