lib.trivial.toBaseDigits: type check
This commit is contained in:
parent
a1f49c048b
commit
343749453e
1 changed files with 2 additions and 0 deletions
|
@ -514,6 +514,8 @@ rec {
|
|||
in
|
||||
[r] ++ go q;
|
||||
in
|
||||
assert (isInt base);
|
||||
assert (isInt i);
|
||||
assert (base >= 2);
|
||||
assert (i >= 0);
|
||||
lib.reverseList (go i);
|
||||
|
|
Loading…
Reference in a new issue