32 lines
372 B
Markdown
32 lines
372 B
Markdown
------------------------------------------------------------------------
|
|
|
|
## divmod
|
|
|
|
Basis Function Combinator
|
|
|
|
divmod(x, y) -\> (quotient, remainder)
|
|
|
|
Return the tuple (x//y, x%y). Invariant: q \* y + r == x.
|
|
|
|
Gentzen diagram.
|
|
|
|
### Definition
|
|
|
|
if not basis.
|
|
|
|
### Derivation
|
|
|
|
if not basis.
|
|
|
|
### Source
|
|
|
|
if basis
|
|
|
|
### Discussion
|
|
|
|
Lorem ipsum.
|
|
|
|
### Crosslinks
|
|
|
|
Lorem ipsum.
|