Test some more primops
This commit is contained in:
parent
3d0a9ec825
commit
5ad263c26b
9 changed files with 24 additions and 7 deletions
|
@ -53,4 +53,9 @@ rec {
|
|||
|
||||
const = x: y: x;
|
||||
|
||||
range = first: last:
|
||||
if builtins.lessThan last first
|
||||
then []
|
||||
else [first] ++ range (builtins.add first 1) last;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue