On Wednesday, October 5, 2016 at 11:15:13 AM UTC+1, Wil C wrote:
>
> Hi all,
>
> Thanks again for all your help. And when I've asked questions last year.
>
> I have another question. Here's my situation. I want to pass a json from a
> port, and decode the json into records.
>
> The recursive record:
>
> type alias Node = {
>> name : String
>> , children : Children
>> }
>>
>> type Children =
>> Children (List Node)
>
>
I wonder if you will ever get this to work? I tried passing a union type to
a port but the compiler complained that the type was not compatible with
ports, it would only work with the record type.
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.