Tag: elm
-
Using
Debug.toString
is really helpful to help debug the model but the format of the output is hard to read. Looking for solution I stumbled upon this gem(not the ruby gem). I changed it to work in elm 0.19 and fix a minor issue when usingcustom type
for theModel
. Here’s the final result on Gist. -
In the previous part of this tutorial we’ve seen how to represent the current month view into a list of dates. Now let’s see how we transform this data into something similar to the screenshot below.
-
ELM was redesign recently and
Date
andTime
have been removed from the core to theTime
library. With that in mind let’s build a calendar. -
Before in ELM 0.18 if you used
evancz/url-parser
you would useparseHash
to parse the fragment. But now in 0.19elm/url
doesn’t have such function. It is still possible to parse the hash though. -
One of my favorite things about ELM is the compiler, it will catch errors before they could make their way to production. Let’s have a look at the most common Javascript errors and see how ELM makes sure they don’t bother you.
-
I’ve been working with ELM for 2 years now. When I started I had very little knowledge about functional programming. I remember being skeptic about it at first then falling in love with it. Now going back to ReactJS or AngularJS feels like trading a swiss army knife for a hammer.