Re: [elm-discuss] Help with beginner program

2016-11-02 Thread Noah Hall
In order to install elm at version 0.16, just do:

npm install -g elm@0.16

In order to re-install elm at version 0.17, just do:

npm install -g elm@0.17.1

On Wed, Nov 2, 2016 at 8:06 PM, Federico Venturini
 wrote:
> Hi everyone!
> I'm writing a brief report on Elm and FRP (functional reactive programming)
> for one of my classes. Since elm 0.16 and 0.17 are completely different, I'm
> basing my report on the comparison between the two and how this affects the
> approach to FRP.
> I've got a good hold of the theoretical part, but I've been asked to write
> an small example of elm in action. I was wanting to do a really simple
> example in both of the version and compare the different approaches.
> First of all, how can I test and compile my code for elm 0.16? Do I need to
> uninstall elm 0.17, download the older version, compile it and test it? Or
> is there a more straight forward way?
> Second, I'm planning on doing a program that basically let you see a funny
> pic of Donald Trump if your mouse is in the right part of the screen and a
> funny pic of Hillary if your mouse is in the left part of the screen. As
> stated, I want to do this for both the versions. Can someone help me out? I
> don't need the full blown solution, just some hints and maybe someone to ask
> questions to. There aren't many tutorials left on the web for the older
> version of Elm..
>
> Thanks in advance,
> Federico
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[elm-discuss] Help with beginner program

2016-11-02 Thread Federico Venturini
Hi everyone! 
I'm writing a brief report on Elm and FRP (functional reactive programming) 
for one of my classes. Since elm 0.16 and 0.17 are completely different, 
I'm basing my report on the comparison between the two and how this affects 
the approach to FRP. 
I've got a good hold of the theoretical part, but I've been asked to write 
an small example of elm in action. I was wanting to do a really simple 
example in both of the version and compare the different approaches.
First of all, how can I test and compile my code for elm 0.16? Do I need to 
uninstall elm 0.17, download the older version, compile it and test it? Or 
is there a more straight forward way?
Second, I'm planning on doing a program that basically let you see a funny 
pic of Donald Trump if your mouse is in the right part of the screen and a 
funny pic of Hillary if your mouse is in the left part of the screen. As 
stated, I want to do this for both the versions. Can someone help me out? I 
don't need the full blown solution, just some hints and maybe someone to 
ask questions to. There aren't many tutorials left on the web for the older 
version of Elm..

Thanks in advance,
Federico

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.