This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
simple rendering of tabular data
version 1.0.0
license MIT
native-modules False
elm-version 0.15.1 <= v < 0.16.0
Tag 1.0.0
Committed At 2015-09-02 02:45:56 UTC
evancz/elm-html 4.0.1 <= v < 5.0.0 4.0.2
elm-lang/core 2.1.0 <= v < 3.0.0 2.1.0

Modules

README

This module provides functions to render tabular views of data.

import Table

data =
    [ [ 1, 2, 3, 4 ]
    , [ 10, 5, 24, 3, 7]
    , [ 2, 7, 23903, 4039 , 1024, 2 ]
    ]

main =
    data
    |> Table.table
        [ ("sum", List.sum >> toString)
        , ("min", List.foldr min 9999 >> toString)
        , ("max", List.foldr max -9999 >> toString)
        ]