evancz/Elm — pull request #171 by madscoaducom (2013-06-09 21:12:36+00:00)
Title: fromRecord (toJS): convert recursively and string handling

Hi Evan,

Here is an attempt at fixing the problem we discussed here https://groups.google.com/d/msg/elm-discuss/-Vi4ftCfIBg/0cISPWjLTYwJ

It contains the recursive call to toJS (as you mentioned), but also some slightly changed handling of string arrays in the other "if".

In my local setup this works, but do review before merging, as I am not comfortable with the internal Elm data structures.

There where some whitespace incosistencies (tabs and spaces) in these two functions, so I have re-indentet.

Mads