It may be interesting to
point out that algebraic datatypes (sums of products) actually form a
semi-ring. This also means that they are isomorphic to, for example,
context-free grammars. This again implies that this representation
is suitable for learning problems in the domain of natural language
processing: it can essentially be used to induce (tree) transducers for
parse trees originating from context-free languages.