by tiffanyh · 2y ago · 0 comments
And Elixir check types at run-time?
(If at run-time, would that mean it would slow down your entire app as a result?)
There are no plans for runtime checking AFAIK
For instance, without even introducing annotations, if a function head has a guard `is_boolean(x)`, using the + operator on x within that function would lead to a type error.