I’m not a user of various of the tools in your post (halcyon, elmenv, sublime), so I can’t comment on many of the details in your steps. Just a few other comments, maybe useful:
When referring to the Haskell platform, saying that it is “a few versions behind, so when you want to use libraries that require a newer ghc or cabal, you will end up straight in cabal hell” is not right. Yes, there are pros and cons about the platform. But as a matter of fact, the current Haskell platform is using the brand new version of ghc (released two weeks ago), and is also using the latest version of cabal. No “few versions behind” in sight.
A typo: “Haskelll”.
The example at the very end: Have you tried running this code in debug mode? I bet it isn’t doing what you say it does. Is there really a watch coming up in the reactor? As far as I know, something like Debug.watch "mouse" Mouse.position will not work. Instead you need Signal.map (Debug.watch "mouse") Mouse.position. See this note. Without having it tried again now, I’d say your example code will show zero watches, which is probably a disappointing close for a reader of the post trying this out.
--
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.
When referring to the Haskell platform, saying that it is “a few versions behind, so when you want to use libraries that require a newer ghc or cabal, you will end up straight in cabal hell” is not right. Yes, there are pros and cons about the platform. But as a matter of fact, the current Haskell platform is using the brand new version of ghc (released two weeks ago), and is also using the latest version of cabal. No “few versions behind” in sight.
The example at the very end: Have you tried running this code in debug mode? I bet it isn’t doing what you say it does. Is there really a watch coming up in the reactor? As far as I know, something like
Debug.watch "mouse" Mouse.positionwill not work. Instead you needSignal.map (Debug.watch "mouse") Mouse.position. See this note. Without having it tried again now, I’d say your example code will show zero watches, which is probably a disappointing close for a reader of the post trying this out.
Yeah, I didn’t say the Haskell platform was perfect. Just pointing out the factual contradiction.
As a tangent, Re:
It is up to date now, but it’s updated rarely enough that before the next one will land there will be cabal hell.
My experience with Haskell is mainly compiling tools I want to use, and starting to learn it time and time again. And every time I started from scratch I fell into cabal hell because I used the Haskell Platform. Which is not something you want a developer new to Elm to have to do.
I’ll try to find a way to phrase my objection better.
There’s actually hope that concerning the Haskell platform specifically, the situation will improve. It’s not pure coincidence that the current release came out right after the latest ghc. They have actually switched the version number scheme of the platform to mirror that of ghc (rather than being some year/month combination). So at least the ambition is that from now on you won’t see the versions of ghc generally and ghc in the platform diverge like in the past. The current release marks a beginning.
--
Yeah, I didn’t say the Haskell platform was perfect. Just pointing out the factual contradiction.
There’s actually hope that concerning the Haskell platform specifically, the situation will improve. It’s not pure coincidence that the current release came out right after the latest ghc. They have actually switched the version number scheme of the platform to mirror that of ghc (rather than being some year/month combination). So at least the ambition is that from now on you won’t see the versions of ghc generally and ghc in the platform diverge like in the past. The current release marks a beginning.
Regarding Haskell Platform, it is also possible to get Haskell stuff on one's computer using stack. It might be worth a look.
Regarding the guide, I have a to say that I find it hard to believe that I should go through all the trouble of installing Elm using this process instead just installing Elm from an official installer.Especially when I need to install halycon, GHC and Cabal, build from source, and all the guide says is one line to run and "see the halcyon tutorial for issues".
Also, the guide is a little bit divided to two section, one is actually about the setup of elm environment and the other is about using elm. Perhaps it will make more sense to divide it to two parts? (I don't know.)
Regarding Haskell Platform, it is also possible to get Haskell stuff on one’s computer using stack. It might be worth a look.
I heard good things about it, but haven’t tried. I do list it amongst the things one can use to install Haskell.
--
Regarding Haskell Platform, it is also possible to get Haskell stuff on one’s computer using stack. It might be worth a look.
I heard good things about it, but haven’t tried. I do list it amongst the things one can use to install Haskell.
There I have to chime in again. :-)
You do list stackage, but not stack. The two are different things.
--
Yeah, 'use stackage through stack' makes sense.And yes, the two co-develop now. But are really different things. Stackage is a bit of a Hackage alternative, and has been existing for a while. Stack is a bit of a Cabal alternative, and is quite a bit newer. It has always (since Stackage came into being) been possible to use Stackage with Cabal. And it is possible (and not uncommon, I think) to use Hackage with Stack. Neither of Hackage, Cabal, Stackage is giving the user a way to install GHC. Stack does. In fact, Stack seems to aspire to among various other things also do many of the things that Halcyon has been made for.