4 ms·
There’s nothing wrong with an infinite sum, in principle. You can’t usually define them unless you can use recursion. In the case of integers you can do da
by tel 7y ago
There’s nothing wrong with an infinite sum, in principle. You can’t usually define them unless you can use recursion. In the case of integers you can do
data Int = Positive Nat | Negative Nat
data Nat = Zero | Succ Nat