Add '24.nix'
This commit is contained in:
parent
aad713b6fe
commit
f9978f6ec8
|
@ -0,0 +1,16 @@
|
|||
with import <nixpkgs> {};
|
||||
with lib;
|
||||
{
|
||||
ex00 = isAttrs {};
|
||||
ex01 = isAttrs {};
|
||||
ex02 = isString "a";
|
||||
ex03 = isInt (-3);
|
||||
ex04 = isFunction (x: x);
|
||||
ex05 = isString (x:x);
|
||||
ex06 = isString ("x");
|
||||
ex07 = isNull null;
|
||||
ex08 = isFunction (y: y+1);
|
||||
ex09 = isList [({z}: z) (x: x)];
|
||||
ex10 = isAttrs {a=[];};
|
||||
ex11 = isInt (-10); # oh, what is that?
|
||||
}
|
Loading…
Reference in New Issue