Test some more primops

This commit is contained in:
Eelco Dolstra 2014-02-26 19:08:44 +01:00
parent 3d0a9ec825
commit 5ad263c26b
9 changed files with 24 additions and 7 deletions

View file

@ -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: