On Wednesday, December 14, 2016 at 1:30:48 PM UTC-6, Rupert Smith wrote: > > On Wednesday, December 14, 2016 at 6:00:14 PM UTC, Desmond D'Souza wrote: >> >> I would love to be able to make synchronous functional calls to js and >> get a Result back. >> > > Would you want to publish this code to elm-package? >
Yes. > > Would the javascript your package calls be included in the package? > I don't know, but do have a naive answer. If I had written all of it in Elm, split into App.elm and GraphLayout.elm, I could publish both modules bundled into a single package or split into two, and Elm + elm-package spells out what a *package user* needs to know and do in both cases. If GraphLayout is in javascript, the overall package story should stay as close as reasonably possible *for the package user, *and Elm + elm-package should spell out what that user needs to know and do. -- 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.