josevalim/elixir — Issue #104: Port Erlang's -spec to Elixir
Author: josevalim
Created: 2012-01-18 17:09:28+00:00
State: open
Labels: Feature

The following:

-spec seq(From, To) -> Seq when
From :: integer(),
To :: integer(),
Seq :: [integer()].

Could translate to:

spec seq(from, to) -> seq,
from: Integer,
to: Integer,
seq: [Integer]