[erlang-questions] Intel Quad CPUs

David Mercer dmercer@REDACTED
Thu Sep 6 23:16:10 CEST 2007


On Thursday, September 06, 2007, Tony Finch wrote:
> What is the reason for the trailing ()s? It would be nice if the syntax
> had less redundant visual noise.

So it can tell the difference between an integer and the atom 'integer'?

Cheers,

David

-----Original Message-----
From: erlang-questions-bounces@REDACTED
[mailto:erlang-questions-bounces@REDACTED] On Behalf Of 
Sent: 14:00
To: Kostis Sagonas
Cc: Erlang
Subject: Re: [erlang-questions] Intel Quad CPUs

On Tue, 4 Sep 2007, Kostis Sagonas wrote:
>
> In the new language you would write (or preferably change the above edoc
> comment to be):
>
> -spec(foo/2 :: ((integer(), float()) -> atom())).

What is the reason for the trailing ()s? It would be nice if the syntax
had less redundant visual noise.

Tony.
-- 
f.a.n.finch  <dot@REDACTED>  http://dotat.at/
IRISH SEA: SOUTHERLY, BACKING NORTHEASTERLY FOR A TIME, 3 OR 4. SLIGHT OR
MODERATE. SHOWERS. MODERATE OR GOOD, OCCASIONALLY POOR.
_______________________________________________
erlang-questions mailing list
erlang-questions@REDACTED
http://www.erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list