oxedyne/fe2o3/fe2o3_austenite/tests/fixtures/eval/foundation/dict.txt
502 bytes, 1 run
created by r1870400018:63832, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | // dictionary methods and dictionary(module). |
| 2 | (a: 1).at("a") |
| 3 | (a: 1).at("z", default: 5) |
| 4 | (a: 1, b: 2).keys() |
| 5 | (a: 1, b: 2).values() |
| 6 | (a: 1, b: 2).pairs() |
| 7 | (a: 1).len() |
| 8 | (:).len() |
| 9 | (b: 1, a: 2).keys() |
| 10 | !(a: 1).insert("b", 2) |
| 11 | !(a: 1).remove("a") |
| 12 | !(a: 1).remove("z", default: 0) |
| 13 | dictionary(calc).len() |
| 14 | dictionary(sym).keys().slice(0, 5) |
| 15 | !(a: 1).at("z") |
| 16 | !(a: 1).remove("z") |
| 17 | !dictionary(1) |
| 18 | dictionary(calc).keys() |
| 19 | dictionary(color.map).keys() |
| 20 | dictionary(sys).keys() |
| 21 | range(41).map(i => ("k" + str(i), i)).to-dict() |