Re: possible syntax changes

On Tue, May 31, 2005 at 06:35:13PM +0100, Andy Seaborne wrote:
> >So, I'd like a new operator CAST
> >  CAST(URI u, Unicode string s) returning what would be written as s^^u
> 
> Does this include:
> 
> CAST(?x, "foobar")
> 
> that is, a dynamic cast?  This seems more like a constructor than a cast as 
> the value is changed.  This would make compiling to SQL quite hard, I guess.

Probably can't be done, but there are things that can't easily/pracically
be done purely in SQL currently. That said I dont have any particularly
strong feelings on cast syntax one way or the other.

- Steve

Received on Tuesday, 31 May 2005 17:41:03 UTC