array-mumu 0.2.0-rc.5

Array tools plugin for the Mumu ecosystem
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extend("array")

keyedExample = [ name:"Alice", city:"Paris" ]

slog( array:prop("name", keyedExample) )

getCity = array:prop("city")

slog( getCity(keyedExample) )


getSomething = array:prop(_, keyedExample)
slog( getSomething("name") )