[erlang-questions] erlang improvement - objective c (or smalltalk) syntax
Thu Jun 4 14:04:43 CEST 2009
Please correct me if I'm wrong, but
string:substring(String)from(Start)length(Length) does not look more like an
actual multiple function calls ( substring(String) - one function call,
from(Start) - other one, and so on ... ) ?
I don't know that this solution may keep backward-compatibility with the old
Or maybe I'm missing something here.
On Thu, Jun 4, 2009 at 2:31 PM, Vlad Dumitrescu <vladdu55@REDACTED> wrote:
> On Thu, Jun 4, 2009 at 11:10, Joe Armstrong <erlang@REDACTED> wrote:
> > Imagine a function like string:substring/3. A call to this looks like:
> > string:substring(Str, I, J)
> > Solution: write the call like this.
> > string:substring( string:S start:I length:J)
> Hi Joe,
> Didn't you (or was it someone else? I can't find that message in the
> archives) suggest for some time ago a different but similar way to
> represent function calls, something like
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
More information about the erlang-questions