3 ms·
> How would you use type annotations to show that `square` accepts a matrix (as well as an int, float, rational number etc.)? Semi-seriously: by specifying the
by feanaro 6y ago
> How would you use type annotations to show that `square` accepts a matrix (as well as an int, float, rational number etc.)?
Semi-seriously: by specifying the input type is a Monoid.