As a side note, I could have exported the function as foldToM3U, but I kind of like the idea of having a naming convention for PureScript functions that can be run in JavaScript. Appending the underscore is a way to indicate that.