Articles from Rundis

Primary tabs

Introducing Elm Bootstrap

Today I’m happy that I can finally announce version 1.0.0 of Elm Bootstrap.
When I set out to develop Elm Bootstrap, my goal was to make an Elm package that
makes it easy to build responsive and reliable web applications in Elm using Twitter Bootstrap. This version is the first step
towards that goal.


What is it then ?

Elm Light 0.4.0 - AST driven Elm features in Light Table using PEG.js

Version 0.4.0 marks the first version of Elm Light that uses ASTs to enable more advanced IDE like features.
This version includes features like; find usages, jump to definition, context aware auto-completer and some simple refactorings.
It’s early days, but I’m in no doubt it will enable some pretty cool features going forward.

Oh no! Learning Elm has gotten me confused about static vs dynamic typing.

The last few years I’ve worked on projects using Groovy and Clojure/ClojureScript.
In 2016 I’ve spent quite a bit of pastime trying to get to grips
with statically typed functional languages. In particular I’ve deep dived into Elm. I’ve also dipped
my toes into Haskell. It’s been a great learning experience and has changed my view of static typing.
Does this mean I’m a static typing zealot now ? Nah, but there is no doubt I’m much more open to the benefits of static typing.

Typed up CRUD SPA with Haskell and Elm - Part 5: Elm 0.17 Upgrade

Elm version 0.17 was released a few weeks back. If haven’t already, you should read the annoucement post
A Farewell to FRP. So what does that mean for the Albums app ?
Sounds like we’re in for a massive rewrite. It turns out, since we were already using The Elm Architecture to
structure our application, the impact isn’t that big after all. Most of it is mechanical, and actually the biggest change
is that we can no longer use the 3.rd party routing library we depended on.

Useful resources

Just JavaScript null or Elm Maybe

If you have worked with JavaScript (or quite a few other languages that embrace null) I bet you have had one or two errors that can be
traced back to an unexpected null reference. Some of them are obvious, but others are really tricky to
track down. I’m sure most of you are well aware that quite a few other languages banishes null and introduces a Maybe or Option type to handle nothingness.
Elm is one of those languages. Before I started looking at Elm I hadn’t really worked with Maybe types. In this blogpost

Elm package docs preview in Light Table

Maybe you are a package author for Elm packages you wish to publish to
. Or maybe you are thinking about authoring a package. Before you publish something to the package repo
you have to write documentation for your package. Wouldn’t it be sweet if you could preview the
generated documentation from the comfort of your editor ?

The good news is that with the latest (0.3.6) edition of the elm-light plugin
you can !

Elm and ClojureScript joining forces in the elm-light plugin

The elm-light plugin provides a pretty useful
featureset for developing elm applications. Until now all features have been implemented
using a combination of ClojureScript and JavaScript. But wouldn’t it be cool if the plugin
implemented Elm features using Elm where that’s feasible ? Elm compiles to JavaScript and
JavaScript interop in ClojureScript is quite easy so it shouldn’t be that hard really.

Typed up CRUD SPA with Haskell and Elm - Part 4: Feature creep

So the hypothesis from episode 3 was that it should
be relatively easy to add new features. In this episode we’ll put that hypothesis to the test and add CRUD features
for Albums. There will be a little refactoring, no testing, premature optimizations and plenty of "let the friendly Elm and Haskell compilers guide us along the way".

Useful resources