mapTest.frink

Download or view mapTest.frink in plain text format


test = [[9], [5, 4], [7, 5, 6], [2]]
tlen = map[{|x| length[toArray[x]]}, test]
println[tlen]


test2 = [ [1,2,3],[4,5,6] ]
tlen = mapList[{|x| "x=$x"}, test2]
println[tlen]

tlen = mapList["sum", test2]
println[tlen]


Download or view mapTest.frink in plain text format


This is a program written in the programming language Frink.
For more information, view the Frink Documentation or see More Sample Frink Programs.

Alan Eliasen was born 20217 days, 23 hours, 40 minutes ago.