A Pythonista's Impressions of Erlang

Dominic Williams erlang-list@REDACTED
Tue Jan 11 19:28:32 CET 2005

Corrado Santoro wrote:

> I would refer to the python slicing capability, i.e.:
> a="Hello, World"
> a[5:-3] --> ", Wo"

Given what is already in the lists module,

slice("Hello, World", 5, -3) -> ...

must be a one- or two-liner.

Why bother with the syntactic sugar?


Dominic Williams


More information about the erlang-questions mailing list