Test some more primops
This commit is contained in:
parent
3d0a9ec825
commit
5ad263c26b
9 changed files with 24 additions and 7 deletions
|
@ -2,11 +2,6 @@ with import ./lib.nix;
|
|||
|
||||
let {
|
||||
|
||||
range = first: last:
|
||||
if builtins.lessThan last first
|
||||
then []
|
||||
else [first] ++ range (builtins.add first 1) last;
|
||||
|
||||
/* Supposedly tail recursive version:
|
||||
|
||||
range_ = accum: first: last:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue