[erlang-questions] lists

Sam Overdorf soverdor@REDACTED
Tue Sep 17 01:44:29 CEST 2019


How do I tell the difference between:
"sam1"
["sam1","sam2"]
They are both lists but behave differently when I apply
  [H|T] = List.
  H = "s"
  H = "sam1".
  The second one is what I want and then stop breaking them down.

Weird problem...

Thanks,
Sam



More information about the erlang-questions mailing list