From f9978f6ec8816d9340c9d3d20bf31e4d2648bc0e Mon Sep 17 00:00:00 2001 From: NaiJi Date: Mon, 18 Apr 2022 06:49:29 +0000 Subject: [PATCH] Add '24.nix' --- 24.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 24.nix diff --git a/24.nix b/24.nix new file mode 100644 index 0000000..438315d --- /dev/null +++ b/24.nix @@ -0,0 +1,16 @@ +with import {}; +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? +} \ No newline at end of file