summaryrefslogtreecommitdiff
path: root/test.pez
blob: 118be0011e7e6cdf6c9ec0d8415e7ff06b59c672 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@print: {[x] printf["%a\n", x]}

@Box: {[value]
    @it = 0
    (
        @test = 7
        @h2 = 100
        it = #[{value},
               {[new] printf["test: %a\n", test] value = new}]
    )
    (
        @hmm = 999
    )
    it
}


@x = Box[-7]
print[x[0][]]
x[1]['awesome]
print[x[0][]]