jdeisenberg / elm-howtos

0 stars 1 forks source link

Example no longer works #1

Open lesliev opened 8 years ago

lesliev commented 8 years ago

The "plainText" function is no longer part of Text: http://package.elm-lang.org/packages/elm-lang/core/3.0.0/Text#Text

So people have a better first impression you can change it to:

main = 
  collage 200 200 [
    filled (rgb 102 51 153) (circle 50),
    toForm (centered(fromString "Elm"))
  ]
lesliev commented 8 years ago

Thanks for the how-to BTW!