[Haskell-cafe] Difference between div and /

Alexander Solla ajs at 2piix.com
Tue Jun 1 16:09:07 EDT 2010


On Jun 1, 2010, at 12:20 PM, Aaron D. Ball wrote:

> The underlying object here is a Unix file descriptor, which is just a
> number.  In that sense, stdin is 0, stdout is 1, and stderr is 2, so
> this would be (0 + 2) (mod 1) = 0

Every integer is 0 (mod 1).


More information about the Haskell-Cafe mailing list