All Downloads are FREE. Search and download functionalities are using the official Maven repository.

elm.unionEncoder.mustache Maven / Gradle / Ivy

There is a newer version: 7.8.0
Show newest version
{{vendorExtensions.x-encoder}} : {{vendorExtensions.x-union-type}} -> Encode.Value
{{vendorExtensions.x-encoder}} model =
    case model of
{{#allowableValues}}
{{#enumVars}}
        {{name}} ->
            Encode.string {{{value}}}

{{/enumVars}}
{{/allowableValues}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy