[erlang-questions] Why can't you have a variable before a string with pattern matching?
Fri Jun 1 00:58:14 CEST 2007
Darius Bacon wrote:
> Anyway, trying to make ++
> fully general in patterns would open up possibilities like
> fcn(A ++ "x" ++ B).
That is actually what I was hoping to do. I guess it probably just isn't
a good hope to have though in regards to efficiency. But it would make
some code look nicer.
More information about the erlang-questions