[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Feature request: userdata slice
- From: Duncan Cross <duncan.cross@...>
- Date: Fri, 21 Aug 2015 00:41:36 +0100
On Thu, Aug 20, 2015 at 11:48 PM, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
>> So different metatable for 4 than for 5? That would be... interesting.
>
> Actually, different fours could have different metatables :-)
>
> -- Roberto
>
Hmm... what about strings? I feel like that would probably be the most
useful thing - being able to mark strings as "just binary data,
unprintable", or in a web app marking "safe/sanitized/trusted" strings
that can be output straight into the HTML of a page, or different text
encodings, and so on. Would that be possible too, or are strings
different?
-Duncan
- References:
- Re: Feature request: userdata slice, Philipp Janda
- Re: Feature request: userdata slice, 云风 Cloud Wu
- Re: Feature request: userdata slice, Dirk Laurie
- Re: Feature request: userdata slice, 云风 Cloud Wu
- Re: Feature request: userdata slice, Dirk Laurie
- Re: Feature request: userdata slice, Dirk Laurie
- Re: Feature request: userdata slice, Tim Hill
- Re: Feature request: userdata slice, William Ahern
- Re: Feature request: userdata slice, Roberto Ierusalimschy
- Re: Feature request: userdata slice, Rena
- Re: Feature request: userdata slice, Roberto Ierusalimschy