News for hackers. Stuff that matters.
Re:Strong functional programming by tramfjord on Monday June 18, 2012 @09:26AM (#4126282)
If we equate haskells Int type to a mathematical integer, then (loop 0) -> 1 + 1 + ...

1 + 1 + ... = 1 + (1 + 1 + ...)

We can still use equational reasoning, it's just that equational reasoning is different for divergent non-terminating equations

There are no comments on this comment yet.