Closed kikofernandez closed 1 year ago
Sorry for the very late reply.
We decided not to support different numeric types for a combination of reasons:
@kikofernandez
A few additional points:
pos_integer()
, neg_integer()
but no pos_float()
, neg_float()
, etcSo, it becomes hairy to type-check the following code:
-spec convert(pos_integer()) -> pos_integer().
convert(Min) -> round(Min / 60).
Hi! I know that currently (v 0.12.12) eqWAlizer cannot distinguish between different numeric types (doc here). I was wondering if there is a technical issue with it per se or if this is something that could be worked out in the future, to catch more typing errors.
Thanks!