upvote
The syntax you are commenting on has always existed in Elixir, before v1.0, as part of patterns and guards.

You are commenting as if we added this now but we have made no changes to the language surface. The difference is that we now leverage these same language constructs to extract precise type information.

reply
deleted
reply
You can of course still do the second thing, the types are not forced if you don't want them!
reply