How do you print a List in Elm?
Edit: This is no longer true as of Elm version 0.19. See the other answer to this question.
The toString
was what I was looking for, but couldn't find.
toString :: a -> String
I found it in the Basics-package: toString documentation
On Elm 0.19, it's been moved to Debug.toString:
For example:
> Debug.toString [1,2,3]
"[1,2,3]" : String