diff options
author | sterni <sternenseemann@systemli.org> | 2023-08-05T15·47+0200 |
---|---|---|
committer | sterni <sternenseemann@systemli.org> | 2023-08-09T12·12+0000 |
commit | 81fc87e29ebee143aa27ff6167556db76a803d12 (patch) | |
tree | 79dc8e43c0c37392ce99cef8ce960dac163363f4 /nix/tag | |
parent | 55a3b3eb81a1c37b0c5345e68c03520c85564e3d (diff) |
refactor(nix/sterni/int): rename div & mod to quot & rem r/6479
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>
Diffstat (limited to 'nix/tag')
0 files changed, 0 insertions, 0 deletions