Re: example of options 3 & 4 simplifying code (ACTION-86)

On 7 Sep 2011, at 19:34, Sandro Hawke wrote:
> I argued in todays meeting, off the cuff, that option 2 (in Pat's
> email [1]) offers only aesthetic improvements, while options 3 and 4
> will result in simpler code.  

Please provide some example code for:

Option 3:

- checking whether a literal is a string
- returning the language tag of a language-tagged string

Option 4:

- returning the lexical form of a literal

Thanks,
Richard

Received on Thursday, 8 September 2011 08:13:26 UTC