3 ms·
Yeah Haskell is far from the worst langage to write a tree of elements in. That is essentially what Elm proposes and it works fine.
by masklinn 2y ago
Yeah Haskell is far from the worst langage to write a tree of elements in.
That is essentially what Elm proposes and it works fine.
- tannhaeuser 2y agoHTML isn't a "tree of elements" though; it's about content token sequences described by regular languages where the symbols can also represent nested markup. The regular content model stuff is what drives SGML/HTML tag omission/inference and is a major feature of markup languages as a text format compared to primitive co-inductive expression syntax a la s-expr and co.