an Elm solution for the rosettacode.org task : Dragon curve .

The source is on github. Demo embedded below: