[erlang-questions] String type
Fri Jun 22 23:41:09 CEST 2018
Has anyone considered making string a type and not a list of chars.
I seem to have a lot of trouble when a list is a bunch of string
objects and I start taking it apart with [H|T] = List..
When processing the last string in the list I end up taking apart the
individual characters of the string. If I do a type-check it tells me
it is a list.
I usually have to do a work around to handle this. If it was a type I
would easily know when I am done with the list.
More information about the erlang-questions