meteor-elm-make icon indicating copy to clipboard operation
meteor-elm-make copied to clipboard

Updates to 1.3? Examples?

Open zeroasterisk opened this issue 8 years ago • 4 comments

Any work on this in light of the v1.3 updates? Everything now being npm modules and import/export.

Do you have any example projects to follow along and extend?

As I understand it, one of the big benefits of elm is the compiler and it's super useful error messages... Does this have them?

As I understand things, the harder parts of elm is when you integrate it with normal JavaScript... I assume your meteor bindings would facilitate wiring with meteor and perhaps more general integrations?

Anyway, great work. I'm very much looking forward to seeing what you come up with.

zeroasterisk avatar Apr 05 '16 00:04 zeroasterisk

  • [x] update to Meteor 1.3
  • [ ] Publish the example project [^1]
  • [x] Error messages; This package does indeed output the normal elm-compilers messages.
  • [ ] Meteor bindings [^2]
  • [ ] Generalized JS interop [^3]

Thanks for your intrest :). I'm sure I'll be able to do #1 and #2 today. Not sure dough when I'll be able to work on the Meteor bindings. But when I do I'll publish it here and probably publish a wrapper package, that depends on elm:make, elm:meteor and so on. I'll also write examples that are closer to real use cases.

[^1] The thing is, that you can't really do anything useful with this jet. First you'd need bindings for the Meteor APIs. It's actually harder to implement than it sounds. Most API have to be completely redesigned, so that they are purely functional.

[^2] I'm actually super busy right now, and probably will be in the next three months. I'm graduating July. Also, there don't seem to be that many people interested in the package.

[^3] That's an interesting question. In the normal Elm ecosystem, you can't do something like that. The main reason being, that you can't publish JS code to the Elm package repo. But in Meteor, I might be able to come up with something.

halbgut avatar Apr 05 '16 09:04 halbgut

Sweet - thanks... I'm looking forward to this. Elm seems awesome, but not sure how it fits in with the Meteor stack, and without Meteor for I/O I'm sad :)

FYI I was motivated to research this because of this podcast: https://show.spacedojo.com/episode/replacing-js-with-elm

zeroasterisk avatar Apr 05 '16 17:04 zeroasterisk

Sorry the last weeks were pretty busy. The updates in 1.3 were non-breaking for my package. But I upgraded to the ES6 import syntax anyway. A shame that you can't use ES6 modules to import stuff from Meteor modules.

Now I'm working on publishing a simple sensible.

halbgut avatar Apr 20 '16 08:04 halbgut

Where is this up to? I'd love to use it for my webapps

Cypher1 avatar Jun 20 '17 03:06 Cypher1