Sparkline in unicode: Difference between revisions

→‎{{header|Haskell}}: Pruned out a redundant import from the minimal Haskell version
(→‎{{header|Haskell}}: Edit to older Haskell draft – added two test cases, adjusted indexing to normalize their sparkline representation)
(→‎{{header|Haskell}}: Pruned out a redundant import from the minimal Haskell version)
Line 837:
<lang haskell>import Data.List.Split (splitOneOf)
import Data.List (findIndex)
import Control.Arrow ((&&&))
 
sparkLine :: [Float] -> String
9,659

edits