diff options
| author | 2025-04-11 17:56:06 +0200 | |
|---|---|---|
| committer | 2025-04-11 19:31:36 +0200 | |
| commit | ddb5bf5f8b221781c059365b81ded6fdbf8c947f (patch) | |
| tree | 9cf36edce8ff86dcef66461dd6ec327e5bdbebe3 /test.pez | |
| parent | fc5f393bd8735b5c46f8b236746ebba1bd528961 (diff) | |
fix bug with newrec. add typeof
Diffstat (limited to 'test.pez')
| -rw-r--r-- | test.pez | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -49,4 +49,17 @@ printf["test %a\n", gather[-1, (), 'x]] ys } -printf["%a\n", map["abcd", #[1,2,0]]] +printf["maps %a\n", map["abcd", #[1,2,0]]] + +@inspect: {[m] + printf["%a\n", m] +} + +@r: #{"a" 1, "b" 2, 0 "a"} +r[0]=r + +printf["r: "] inspect[r] +printf["r.a -> %a\n", r[0].a] +{ + inspect [#{0 3,"a" 3}] +}[] |