[elm-discuss] Re: Christmas holiday projects.

2017-01-02 Thread Emmanuel Rosa
Monday, January 2, 2017 at 1:23:52 PM UTC, Emmanuel Rosa wrote: >> >> Interesting. Would the technique work for business logic only (no UI)? >> I'm interested in creating pure functional Vert.x Verticles, so my idea is >> to write them in Frege. But, if it can be done with

[elm-discuss] Re: Christmas holiday projects.

2017-01-02 Thread Emmanuel Rosa
be compiled with a "Vert.x platform" so that it follows the Verticle "architecture" rather than TEA. On Sunday, January 1, 2017 at 7:13:12 PM UTC-5, Rupert Smith wrote: > > On Sunday, January 1, 2017 at 12:00:28 AM UTC, Emmanuel Rosa wrote: >> >> I'm a JVM g

[elm-discuss] Re: Christmas holiday projects.

2016-12-31 Thread Emmanuel Rosa
Yeah, I've been implementing a form with a ton of fields, some of which are dependent on each other. A true PITA, but I like the challenge of squeezing out the invariants. Groovy got me on the road to functional programming, but Elm is really changing the way I think. And I like it :) I'm a

[elm-discuss] Re: Instaslling Elm 0.17 and Elm 0.18 at the same time.

2016-11-29 Thread Emmanuel Rosa
I'm gonna try the npm local install next time. I've been using Docker. I have a base image which provides Elm (from npm) and separate images for the different commands: elm-make, elm-reactor, elm-package, and elm-repl https://hub.docker.com/r/emmanuelrosa/elm-base/ -- You received this

[elm-discuss] Re: Promises

2016-11-09 Thread Emmanuel Rosa
No, Elm doesn't provide access to JavaScript promises. But what it really boils down to is that from Elm you cannot access a JavaScript object directly. You need a *foreign-function interface* to act as a gateway between Elm and JavaScript, which is what Elm ports do:

[elm-discuss] Re: PSA for beginners

2016-09-25 Thread Emmanuel Rosa
Yeah, that it *really* good. I also watched Richard's Side-effects as Data and had my mind blown. In fact, I was in the middle of writing a Wordpress plugin and decided to see what would happen if I tried representing the database access as data.