mapTest.frink

View or download 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]


View or download 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 18354 days, 1 hours, 9 minutes ago.