Function deadEndsToString

  • Turn all the DeadEnd data into a string that is easier for people to read.

    Remark

    Note: This is just a baseline of quality. It cannot do anything with colors. It is not interactive. It just turns the raw data into strings. I hope folks will check out the elm source code for some inspiration on how to turn errors into Html with nice colors and interaction! The Advanced module lets you work with context as well, which unlocks another level of quality! The "context" technique is how the Elm compiler can say "I think I am parsing a list, so I was expecting a closing ] here." Telling users what the parser thinks is happening can be helpful!

    Parameters

    Returns string