News for hackers. Stuff that matters.
Re:Elm 0.19.1 by lalaithion on Monday October 21, 2019 @01:47PM (#21315111)

    showUsers : [User] -> Html msg
    showUsers users = div [id "my-component"] [ul [] (map showUser users)]

    showUser : User -> Html msg
    showUser user = li [] [
        span [class "firstName"] [text user.firstName],
        br [] [],
        span [class "lastName"] [text user.lastName],
      ]

There are no comments on this comment yet.