Add '27.nix'

This commit is contained in:
NaiJi ✨ 2022-04-19 20:41:14 +00:00
parent ae75baf9d4
commit c30ebe1880
1 changed files with 10 additions and 0 deletions

10
27.nix Normal file
View File

@ -0,0 +1,10 @@
let
bar = ["bar" "foo" "bla"];
numbers = [1 2 3 4];
in
{
#multiplies every number by 2
example = map (n: n * 2) numbers;
#complete this
foobar = map ( bar: bar + "bar" ) bar;
}