plan9-archive
/
mc
Code
Issues
Pull Requests
Antique
Wiki
Insights
/
mc
/
test
/
livearraylit.myr
AC
Andrew Chambers
add mktempat to std
b44b193
10 years ago
History
Code
Blame
12 lines · 97 B · Text
Raw
Download
Copy shown lines
use std
const main = {
var v
v = [foo(), 42, 123]
std.exit(v[0])
}
const foo = {
-> 21
}
use std const main = { var v v = [foo(), 42, 123] std.exit(v[0]) } const foo = { -> 21 }