caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Which types for representing HTML documents ?
@ 2009-06-08  4:59 Sébastien Hinderer
  2009-06-08  6:03 ` [Caml-list] " Gabriel Kerneis
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sébastien Hinderer @ 2009-06-08  4:59 UTC (permalink / raw)
  To: caml-list

Dear all,

According to you, how could an HTML document best be represented in
OCaml ?
In particular: would you rather use classes or records, polymorphic
variants or normal constructors ?

There are attributes which can occur in several elements, such as id,
class... How shold these be represented ?
Should the types reflect the differences between inline elements and
other types of elements ?

Many thanks in advance for your suggestions,
Sébastien.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-08 11:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-08  4:59 Which types for representing HTML documents ? Sébastien Hinderer
2009-06-08  6:03 ` [Caml-list] " Gabriel Kerneis
2009-06-08 10:05 ` Richard Jones
2009-06-08 11:35 ` Martin Jambon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).