Skip to content

Instantly share code, notes, and snippets.

@joanllenas
Last active January 2, 2018 20:58
Show Gist options
  • Save joanllenas/193974186e542d0f442adc47dcd66a31 to your computer and use it in GitHub Desktop.
Save joanllenas/193974186e542d0f442adc47dcd66a31 to your computer and use it in GitHub Desktop.
Ejemplo 1 del post "Un sorbo de TEA"
module Main exposing (..)
import Html exposing (..)
sayHello user =
"Hello " ++ user.name ++ "!"
userRecord =
{ id = 1, name = "Joan" }
main =
text (sayHello userRecord)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment