While editing a file of @type statements, it occurred to me that it would be
convenient to be able to abridge them like @spec statements. For example:
@type params :: %{ String.t => String.t }
could be rewritten as:
@type params :: %{ s => s } when s: String.t
Of course, this should also be possible with @typep statements.
Nu?
-r
--
You received this message because you are subscribed to the Google Groups
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elixir-lang-core/704BDCAC-CEF8-4A4D-8D6B-29C54BA25F54%40gmail.com.
For more options, visit https://groups.google.com/d/optout.