diff --git a/src/main/scala/bridges/elm/ElmJsonEncoder.scala b/src/main/scala/bridges/elm/ElmJsonEncoder.scala index 8b23a4e..a3d86b0 100644 --- a/src/main/scala/bridges/elm/ElmJsonEncoder.scala +++ b/src/main/scala/bridges/elm/ElmJsonEncoder.scala @@ -62,8 +62,8 @@ trait ElmJsonEncoder extends ElmUtils { "Maybe.withDefault Encode.null (Maybe.map " + encodeType(optTpe, objectName, fieldName, customTypeReplacements) + ")" case Arr(arrTpe) => - "Encode.list (List.map " + - encodeType(arrTpe, objectName, fieldName, customTypeReplacements) + ")" + "Encode.list " + + encodeType(arrTpe, objectName, fieldName, customTypeReplacements) case Dict(kTpe, vTpe) => "(Encode.dict " + encodeType(kTpe, objectName, fieldName, customTypeReplacements) + " " +