From: Peter Hickman Date: 2002-10-30T20:14:34+09:00 Subject: Re: feature idea: custom literals Bulat Ziganshin wrote: > Hello Peter, > > Wednesday, October 30, 2002, 1:40:41 PM, you wrote: > > >>>PH> What problem is this meant to solve as i cant see a use for such a thing. >>> >>>complex = 3+7i >> > > it's a literal for complex numbers > > >>>str =~ s/x/y/gi >> > > it's for string replacement in sed style > > >>>another feature will be custom operators: >>> >>>if 1 in [1,2,3] >> > > it's check that 1 is a member of set, described by [1,2,3] > > PH> No I can't see what you're trying to show. Perhaps an example? > Fine. But HOW is his suggestion supposed to achieve this?