Skip to content

Conversation

@angerman
Copy link
Contributor

@angerman angerman commented Apr 8, 2016

In /pull/177, @puffnfresh added support for

  • Null
  • Lists (L)
  • Map (M)

where Lists are represented as DList (Vector DValue) and
Maps as DMap (Map Text Dvalue).

This adds DynVal instances for Vector and Map Text to
allow them to be used when parsing a structure into records.

In aristidb/pull/177, @puffnfresh added support for

- Null
- Lists (L)
- Map (M)

where Lists are represented as `DList (Vector DValue)` and
Maps as `DMap (Map Text Dvalue)`.

This adds `DynVal` instances for `Vector` and `Map Text` to
allow them to be used when parsing a structure into records.
@angerman
Copy link
Contributor Author

angerman commented Apr 8, 2016

This replaces /pull/192, fixing up the commit messages.

@aristidb
Copy link
Owner

Can you please add short comments to the code explaining the difference between the [], Set, Vector and Map instances? Because I do find that somewhat confusing.

(Of course, partially the confusingness stems from the fact that Amazon first tried to use a simplistic data model and then added more complex features, while leaving the simplistic form distinct and present.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants