Targeting C

"Jérôme M. Berger" jeberger at free.fr
Fri Oct 23 11:44:08 PDT 2009


Pelle Månsson wrote:
> Andrei Alexandrescu wrote:
>> Yigal Chripun wrote:
>>> On 23/10/2009 13:02, bearophile wrote:
>>>> Chris Nicholson-Sauls:
>>>>
>>>>> I prefer this (Scala):
>>>>> list = list ++ (0 to 10)
>>>>
>>>> That's quite less readable. Scala sometimes has some unreadable 
>>>> syntax. Python has taught me how much useful a readable syntax is :-)
>>>> Designing languages requires to find a balance between several 
>>>> different and opposed needs.
>>>>
>>>> Bye,
>>>> bearophile
>>>
>>> how about this hypothetical syntax:
>>>
>>> list ~= [0..10];
>>
>> I'm not sure what the type of "list" is supposed to be, but this works 
>> today for arrays:
>>
>> list ~= array(iota(0, 10));
>>
>>
>> Andrei
> What does iota mean?

	In English: "A very small amount". This helped didn't it? ;) The 
others have already answered for the D meaning.

		Jerome
-- 
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20091023/cfcf48f9/attachment.pgp>


More information about the Digitalmars-d mailing list