You should also be able to switch to ports based on Json.Encode.Value, which 
gets passed through ports directly as JSON. You'll have to write your own 
encoders and decoders but you should then be able to use arbitrary field names 
(since you'll end up specifying them as string literals in your Elm 
encoders/decoders). So you can use some non-reserved name in your Elm code and 
then encode/decode it to/from a 'port' field.

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to