This mirrors the terminology Haskell uses: quot and rem truncate towards zero which is also the case for builtins.div. We can give us the option to introduce Haskell-style int.div and int.mod (to complete the confusion) which would truncate towards negative infinity. Change-Id: Ibebb0a01a73c9718cd62121b2fc2a19c3a4be0de Reviewed-on: https://cl.tvl.fyi/c/depot/+/9009 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> |
||
|---|---|---|
| .. | ||
| clhs-lookup | ||
| dot-time-man-pages | ||
| emacs | ||
| exercises/aoc | ||
| external | ||
| htmlman | ||
| lv/gopher | ||
| machines | ||
| mblog | ||
| modules | ||
| nix | ||
| nixpkgs-crate-holes | ||
| secrets | ||
| keys.nix | ||
| OWNERS | ||