Re: metatables for strings?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: metatables for strings?
- From: Dirk Laurie <dirk.laurie@...>
- Date: Sun, 3 May 2015 18:39:34 +0200
2015年05月03日 18:33 GMT+02:00 Nagaev Boris <bnagaev@gmail.com>:
> PS. I still like syntax "hello":sub(1, 4)
Didn't somebody make a patch to allow that?
> PS 2. Why no individual metatables for light userdata?
They would no longer be light. A light userdata is like a number:
it's just a pointer.