[erlang-questions] Intel Quad CPUs

Tony Finch <>
Thu Sep 6 21:00:14 CEST 2007


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  <>  http://dotat.at/
IRISH SEA: SOUTHERLY, BACKING NORTHEASTERLY FOR A TIME, 3 OR 4. SLIGHT OR
MODERATE. SHOWERS. MODERATE OR GOOD, OCCASIONALLY POOR.



More information about the erlang-questions mailing list