« Previous | Next » 

Revision 2af78b97

Parent da45c352
Child 8c957eb3

Added by Iustin Pop almost 12 years ago

Expand THH with more functionality for parameters

This adds two related improvements to THH:

- for parameters, we declare a list with all their fields, so that
Query2 can build the list of fields (e.g. for hvparams, or ndparams)

- we declare a new type class for "DictObjects", i.e. objects which
can be converted to a [(String, JSValue)] list of pairs; while this
applies to all our objects, it will be used first for filled
parameters, so that we can implement the lookup functions

Note that we re-export the new class from Objects.hs, so that other
modules don't have to import THH.

Signed-off-by: Iustin Pop <>
Reviewed-by: Agata Murawska <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences