Roc

Other Roc solutions.
module [transpose]

transpose : Str -> Str
transpose = \string ->
    matrix = Str.split "\n"
        |> List.map Str.toUtf8