module Main exposing (..)

import Html exposing (text)

foo = ["one", "two", 2]

main =
    text <| foo

module Main exposing (..)

import Html exposing (text)

type alias Person =
    { name: String
    , age: Int
    }

people =
    [ { name = "Legolas", age = 2931}
    , { name = "Gimli", age = 139 }
    ]

main =
    text <| toString <| people

Define alias and print list
Define alias and print list

We need to define a type alias, and then define the data for printing.
