What happened to all of the cool Elm examples at http://elm-lang.org/examples?

133 views
Skip to first unread message

peter....@gmail.com

unread,
Jun 15, 2016, 3:09:33 AM6/15/16
to Elm Discuss

Hi all,


I originally posted this on the Elm sub-reddit but thought this might be a more appropriate venue for the question so I've deleted that post.  Here's my question:


I started dabbling in learning Elm early this year and then put it aside when I got stuck at some point. Lately I've started writing a little javascript browser game when I remembered there was a new version of Elm out recently and maybe I should try and write it in Elm. However I couldn't find anything in the new docs about drawing to "screen" etc and also it appeared as though most of the inspiring examples (tiny little programs that seemed to do amazing things for little effort) are no longer there. A trip to wayback machine confirmed my memory of what it used to look like (https://web.archive.org/web/20160314202927/http://elm-lang.org/examples).


Are these examples gone for good? Are the language features they relied on no longer available?

Peter Damoc

unread,
Jun 15, 2016, 3:54:32 AM6/15/16
to Elm Discuss
Some of those examples relied on Signals (they were documenting Signal related functionality). 
0.17 removed the Signals so, those examples became obsolete.

Some other part of those examples relied on Graphics.* packages and those were deprecated. 
Graphics.* modules were removed from elm-lang/core but they live now in evancz/elm-graphics (Graphics.Input.* relied on Signals and are gone). 

Graphics.* represented an attempt to replace HTML/CSS but its implementation was quite slow. 
elm-lang.org switched from Graphics.* to the virtual-dom backed Html.* a long time ago and that became the recommended way to create Elm web-apps. 

That being said, if you want to use Graphics.* library, you can still do that. 

Here is a link to a 0.17 port of Mario. 

--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
There is NO FATE, we are the creators.
blog: http://damoc.ro/

Peter Roehlen

unread,
Jun 15, 2016, 4:38:40 AM6/15/16
to elm-d...@googlegroups.com

Awesome, thanks for the explanation and the links particularly.

You received this message because you are subscribed to a topic in the Google Groups "Elm Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elm-discuss/PxT2M4LH0bs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elm-discuss...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages