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. https://gist.github.com/pdamoc/6f7aa2d3774e5af58ebeba369637c228 Here is a link to a 0.17 port of Pong https://gist.github.com/pdamoc/fd29925b8e20dd92e91c5b75e6c3711e On Wed, Jun 15, 2016 at 10:09 AM, <[email protected]> wrote: > 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? > > -- > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- There is NO FATE, we are the creators. blog: http://damoc.ro/ -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
