Sparkline in unicode: Difference between revisions

m
→‎{{header|AppleScript}}: Eliminated one map (by functor law) at top level
mNo edit summary
m (→‎{{header|AppleScript}}: Eliminated one map (by functor law) at top level)
Line 50:
 
on run
unlines(map(unlines, ¬
mapcompose(compose(unlines, sparkLine), readFloats), ¬
{"0, 1, 19, 20", "0, 999, 4000, 4999, 7000, 7999", ¬
"1 2 3 4 5 6 7 8 7 60, 51000, 44000, 35000, 27000, 18000", ¬
"1.5, 0.52 3.5, 2.54 5.5, 4.56 7 8 7.5, 6. 5 4 3 2 1"}))), ¬
"1.5, 0.5 3.5, 2.5 5.5, 4.5 7.5, 6.5"}))
end run
 
9,659

edits