So I've read Czaplicki's paper, then read that its all changed since then 
(no Signals), tried out examples and surfed around github. A lot of example 
code is 0.16, but I am looking for something 0.17 to get stuck into.

I have an existing project done in angular and paper.js. It has a grunt 
build, and css to compile, images to optimze, js and html to minify etc. I 
still want to keep all that, and found that adding an Elm task to the grunt 
build was easy - it outputs .js and I can just take that .js and put it 
through the build pipeline I had already created. Essentially, I am 
chucking away all the .js code I wrote and replacing it with what the Elm 
compiler outputs.

Getting Elm "Hello" working within my existing framework was a slight 
learning curve, but didn't present too many difficulties.

===

Now I have decided to grab the Elm Clock example from here:

http://elm-lang.org/examples/time

And have a go at hacking it along these lines:

* Add separate second, minute and hour hands to the clock.
* Maybe add some other cosmetic features to the clock face like numbers or 
dots for each hour.
* Make the clock a bit smaller and shove it up top-right on the navigation 
bar.

I don't really need a clock in my application. This is just to get some 
experience of using Elm.

===

My impressions of Elm so far:

Yay, it looks like ML. I love ML, even more than Haskell. Something 
mainstream is starting to happen with an ML inspired language? Best thing 
ever.

Union data types and records. 'let' 'in'. Lambdas, currying etc. I can 
write web UIs with this? brilliant.

As a newbie the difference between 0.16 and 0.17 is quite significant and 
its not immediately obvious this is the case. For example sometimes I 
follow a link to a library on the Elm Packages site, only to find that I'm 
looking at an older version and things are different now - ok it does warn 
you in big writing at the top of the screen when you are not looking at the 
latest. When looking at existing code on GitHub, its always worth peaking 
at the elm-package.json file first to get an idea if it will build on the 
current compiler or not.

-- 
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.

Reply via email to