Skip to content
Snippets Groups Projects

Any is dead! Long live the Str!

Merged stratact requested to merge stratact/ion:refactor into master
9 files
+ 67
95
Compare changes
  • Side-by-side
  • Inline
Files
9
+ 3
3
let map:hmap[] = [key1=one key3=three]
let map:hmap[str] = [key1=one key3=three]
let map[key2] = two
echo @map[key1]
echo @map[key2]
@@ -9,11 +9,11 @@ echo @map[uno]
echo @map[tres]
echo @map[dos]
let map:hmap[int[]] = [key1=[1 2 3 4 5] key2=[6 7 8]]
let map:hmap[[int]] = [key1=[1 2 3 4 5] key2=[6 7 8]]
echo @map[key1]
echo @map[key2]
let map:bmap[] = [key1=one key3=three]
let map:bmap[str] = [key1=one key3=three]
echo @map
let map[key2] = two
echo @map
Loading