A Pythonista's Impressions of Erlang
Corrado Santoro
csanto@REDACTED
Tue Jan 11 20:42:29 CET 2005
Dominic Williams wrote:
> Given what is already in the lists module,
>>
>> a="Hello, World"
>> a[5:-3] --> ", Wo"
>
> slice("Hello, World", 5, -3) -> ...
>
> must be a one- or two-liner.
why not including such a function in "lists"?
> Why bother with the syntactic sugar?
I agree :-))
Cheers,
--Corrado
--
======================================================
Eng. Corrado Santoro, Ph.D.
University of Catania - Engineering Faculty
Department of Computer Science and
Telecommunications Engineering
Viale A. Doria, 6 - 95125 CATANIA (ITALY)
Tel: +39 095 7382380 Fax: +39 095 7382397
+39 095 7382365
+39 095 7382364
EMail: csanto@REDACTED
Personal Home Page:
http://www.diit.unict.it/users/csanto
NUXI Home Page:
http://nuxi.iit.unict.it
======================================================
More information about the erlang-questions
mailing list