From: Drup <drupyog+caml@zoho.com>
To: Anton Bachin <antonbachin@yahoo.com>
Cc: "François Bobot" <francois.bobot@cea.fr>, caml-list@inria.fr
Subject: Re: [Caml-list] [ANN] Lambda Soup - HTML scraping and rewriting with CSS selectors
Date: Mon, 23 Nov 2015 19:20:14 +0100 [thread overview]
Message-ID: <565358DE.6050508@zoho.com> (raw)
In-Reply-To: <5D7BF541-7E63-4A21-842A-8C34F36B550B@yahoo.com>
> Does tyxml have checked coercions? I was thinking of something like
> filtering a traversal by a checked coercion. This is how Lambda Soup
> currently does it for traversing elements. While traversing nodes, it
> filters by a checked coercion to elements. Typed selection, as you
> suggest, is another possibility, but my guess is that it would take a
> quite a while to design something that is easily learnable and not very
> challenging to type, if that is possible at all – as you seem to agree.
>
Kind of, but it's in Tyxml_js, not in tyxml directly. It needs knowledge
over the type of nodes which is not available in Xml_sigs.T
It's also nominal, so you can't say `coerce ~to:"a"`
next prev parent reply other threads:[~2015-11-23 18:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-16 21:01 Anton Bachin
2015-11-17 9:31 ` François Bobot
2015-11-22 7:58 ` Anton Bachin
2015-11-23 10:44 ` François Bobot
2015-11-23 16:26 ` Anton Bachin
2015-11-23 17:16 ` Drup
2015-11-23 17:35 ` Anton Bachin
2015-11-23 17:41 ` Anton Bachin
2015-11-23 18:20 ` Drup [this message]
2015-11-23 19:02 ` Anton Bachin
2015-11-24 8:35 ` François Bobot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=565358DE.6050508@zoho.com \
--to=drupyog+caml@zoho.com \
--cc=antonbachin@yahoo.com \
--cc=caml-list@inria.fr \
--cc=francois.bobot@cea.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox