CategoricalData / hydra

Transformations transformed
Apache License 2.0
64 stars 9 forks source link

Eliminate polymorphic types from Hydra Core #125

Open joshsh opened 1 month ago

joshsh commented 1 month ago

Having eliminated the "annotation type" parameter from most of the types in Hydra Core, we have only a couple of remaining polymorphic types in the core: Annotated and Nominal. Both should be replaced with non-polymorphic equivalents (after all, they are only applied to two types: Type and Term). This will make it more straightforward to carry Hydra Core into non-polymorphic languages like JSON and Protobuf.