An "is_string" BIF?
mccratch@REDACTED
mccratch@REDACTED
Thu Mar 10 10:13:21 CET 2005
On 2005-03-10 at 09:21:36 (+0100), Thomas Johnsson XA (LN/EAB) wrote:
> This really exposes an ugly wart on the language, in that
> one cannot use any expression in a guard, making it impossible
> to use abstractions there, e.g.
>
> glorbgraph(Graph) when mygraph:curiousproperty(Graph) -> ...
>
> -- Thomas
I would be interested why this isn't allowed. If I recall correctly
it has something to do with how guards are evaluated? Or maybe I am
now confusing something.
--
Cheers
Matthias Kretschmer
More information about the erlang-questions
mailing list