lib: add on
This commit is contained in:
parent
1081102c42
commit
212da58616
@ -39,6 +39,8 @@ let
|
||||
ne = x: y: x != y;
|
||||
mod = x: y: x - y * (x / y);
|
||||
|
||||
on = b: u: x: y: b (u x) (u y);
|
||||
|
||||
genid = lib.genid_uint32; # TODO remove
|
||||
genid_uint31 = x: ((lib.genid_uint32 x) + 16777216) / 2;
|
||||
genid_uint32 = import ./genid.nix { inherit lib; };
|
||||
|
Loading…
Reference in New Issue
Block a user