Live data from Hacker News

Small Assets without the Headache in Elm 0.19

elm-lang.org

41–50 of 129 posts

Re: Small Assets without the Headache in Elm 0.19

#41
post #38

Any upgrade guide? My 0.18 elm project doesn't seem to work with the latest version and the links it tells you to go to don't exist. This is pretty much consistent with my elm experience, I've never found it professional enough to consider for a production application.

It's in the release notes, as with every other open source project: https://github.com/elm/compiler/blob/master/upgrade-docs/0.1...

Re: Small Assets without the Headache in Elm 0.19

#42

I love Elm and I recommend it to everyone who wants to get into functional programming, especially Haskell. Additionally I'm glad .19 finally came out. But 18 months was really long. I'm guessing this was a good release point to show some major benefits, and I'm assuming that past 18 months was spent on more stuff that will come out later which is not ready yet. The main change seems to be a smaller codebase. Which i…

> Additionally I'm glad .19 finally came out. But 18 months was really long. On the basis that nothing was actually broken 18 months is not that long. I think there are benefits to be derived from working with a language/platform/ecosystem that doesn't change every few weeks. Just think about how many changes Angular has had in that time...

Re: Small Assets without the Headache in Elm 0.19

#43
post #41
post #38

Any upgrade guide? My 0.18 elm project doesn't seem to work with the latest version and the links it tells you to go to don't exist. This is pretty much consistent with my elm experience, I've never found it professional enough to consider for a production application.

It's in the release notes, as with every other open source project: https://github.com/elm/compiler/blob/master/upgrade-docs/0.1...

Thanks

It explicitly says I'm not allowed to tell you that the auto upgrade doesn't work for me and there's no details on how to do it manually.

Sigh I'll try again in a few months.. maybe.

Re: Small Assets without the Headache in Elm 0.19

#44
post #43
post #41

Earlier quoted context omitted.

It's in the release notes, as with every other open source project: https://github.com/elm/compiler/blob/master/upgrade-docs/0.1...

Thanks It explicitly says I'm not allowed to tell you that the auto upgrade doesn't work for me and there's no details on how to do it manually. Sigh I'll try again in a few months.. maybe.

> there's no details on how to do it manually.

The document I linked too contains the language and std-lib changes between 0.18 and 0.19, for the rest you use new packages.

If you don't want to upgrade that's fine, but you're literally staring at the information on what to do.

Re: Small Assets without the Headache in Elm 0.19

#45

Congrats on the release! I have very high hopes for Elm in the future, and I think it truly shifts the paradigm of frontend development. On an attempt to use Elm in production I ended up switching back to Javascript. The biggest issue I faced was lack of type-classes, which made certain parts of the code feel like I was pulling teeth to get Elm's type system to be happy. Perhaps this is more of an issue of expecting…

FWIW you may be interested in Purescript, it's less developed than Elm but is more on-board with abstractions & the like.

Re: Small Assets without the Headache in Elm 0.19

#46
post #43
post #41

Earlier quoted context omitted.

It's in the release notes, as with every other open source project: https://github.com/elm/compiler/blob/master/upgrade-docs/0.1...

Thanks It explicitly says I'm not allowed to tell you that the auto upgrade doesn't work for me and there's no details on how to do it manually. Sigh I'll try again in a few months.. maybe.

What if you created elm.js and compiled your code, and fixed what doesn't work according to the changes (https://github.com/elm/compiler/blob/master/upgrade-docs/0.1...)?

Re: Small Assets without the Headache in Elm 0.19

#47
post #43
post #41

Earlier quoted context omitted.

It's in the release notes, as with every other open source project: https://github.com/elm/compiler/blob/master/upgrade-docs/0.1...

Thanks It explicitly says I'm not allowed to tell you that the auto upgrade doesn't work for me and there's no details on how to do it manually. Sigh I'll try again in a few months.. maybe.

> It explicitly says I'm not allowed to tell you that the auto upgrade doesn't work for me and there's no details on how to do it manually.

Uh… what? All it says is that elm-upgrade exists but is an alpha, and issues should be reported to the elm-upgrade repository.

Re: Small Assets without the Headache in Elm 0.19

#48
post #25

Does Elm rely on node.js and npm? Or is it usable without it?

You don't need either to use Elm.

The only way Elm uses node is for `elm repl`, since that needs a way to evaluate the compiled JS on the command line.

The only way Elm uses npm is for `npm install --global elm` - but that's just as a convenient way to get a cross-platform installer. All it does is download the `elm` executable and put it on your PATH!

Re: Small Assets without the Headache in Elm 0.19

#50

They forgot Mithril[0] in the size comparisons -- I haven't seen anything useful beat it in size/value ratio. [0]: https://mithril.js.org/

The comparison was of RealWorld apps - you should contribute a Mithril one so that comparison would be possible next time! Here's the link: https://github.com/gothinkster/realworld/blob/master/README.... Have fun!

Somebody started one but needs help finishing: https://github.com/barryels/realworld-mithril/projects/1
Post reply on HN