IJWTS wow! Why can't I think of thngis like that?
IJWTS wow! Why can't I think of thngis like that?
IJWTS wow! Why can't I think of thngis like that?
IJWTS wow! Why can't I think of thngis like that?
IJWTS wow! Why can't I think of thngis like that?
ListOfFloats = [ element(1,string:to_float(X)) || X <- ListOfStrings ].
Erlang On Convert a list of strings t...
by Mazen Harake,
March 29, 2011 19:48
This is more correct imho.
[ F || X <- ListOfStrings, {F,_} <- [string:to_float(X)]]
Erlang On Convert a list of strings t...
by Ferd,
January 07, 2010 20:34
The following might save yo...
what an invariant !