This website requires JavaScript.
Explore
Help
Sign In
vieter-v
/
v
Watch
2
Star
0
Fork
You've already forked v
0
Code
Issues
Pull Requests
Releases
Activity
d24dce8eb3
v
/
vlib
/
v
/
checker
/
tests
/
map_func_return_multiple_va...
9 lines
103 B
V
Raw
Blame
History
fn
fun
(
n
int
)
(
int
,
string
)
{
return
n
,
n
.
str
(
)
}
fn
main
(
)
{
a
:=
[
1
,
2
,
3
]
.
map
(
fun
)
println
(
a
)
}
Reference in New Issue
View Git Blame
Copy Permalink