Enhanced type guard syntax]

Fredrik Linder fredrik.linder@REDACTED
Thu Sep 18 13:57:03 CEST 2003


> foo(A/integer, B/integer) ->
>       A * B.
>
> {X/float, Y/float} = graph:coordinates(),

This looks really really nice!

Again, I'd like to ask for user-defined guards, as it would really enhance
... erlang(?).

/Fredrik




More information about the erlang-questions mailing list