Blogging in Lisp


New Elm Package: billstclair/elm-port-funnel

Submitted by Bill St. Clair on Sat, 08 Sep 2018 20:23:12 GMT

I just published version 1.0.0 of billstclair/elm-port-funnel. It enables communicating with ALL of your custom JavaScript through a single Cmd/Sub port pair. It takes care of loading the JavaScript code, which you simply drop in a directory and add to a list, and dispatching messages from your Elm code. It allows pure-Elm simulators, to make testing your app easy in `elm reactor`.

The example is live at

I will now begin work at converting my existing port modules to funnels. Those will be major version bumps, but will make them much easier to combine.

Thank you to Murphy Randall (@splodingsocks) for the basic idea that I generalized to create this package.

Add comment   Edit post   Add post

Previous Posts:

Building the Elm compiler
Server Updated to Ubuntu 16.04LTS
XKCD April Fools 2018
JSMaze Returns, in Elm!
NearlyFreeSpeech.NET Stupid Bureaucratic Rules Compliance Department
Zippy the Pinheads Careen across the Screen
Haskell Joke