On Tue, Apr 21, 2020 at 05:30:40PM -0400, John Clements wrote:
> Are you asking because you’d like your own code using SXML to be typed, or
> because you’d like the sxml implementation to be typed? I think another way
> of asking this is: are you worried about bugs in your code, or about bugs in
> Oleg’s code?
About bugs in my code.
> I think that rewriting the sxml library into TR would be a lot
> of work, but developing a TR representation for sxml terms seems quite
> reasonable;
> of course, you’d pay the price of checking the type every time
> you crossed the boundary into sxml library code, I suppose.
That's the price I'd prefer not to pay. I trust Oleg's code. I don't trust
mine without the most exhaustive testing program, which normally includes
static type checking.
-- hendrik